Merge "Reserve space for the future in statvfs(64)"

This commit is contained in:
Calin Juravle 2014-05-12 09:59:57 +00:00 committed by Gerrit Code Review
commit d67c6af2f6

View File

@ -23,6 +23,12 @@
__BEGIN_DECLS
#ifdef __LP64__
#define __STATVFS64_RESERVED uint32_t __f_reserved[6];
#else
#define __STATVFS64_RESERVED
#endif
#define __STATVFS64_BODY \
unsigned long f_bsize; \
unsigned long f_frsize; \
@ -35,10 +41,14 @@ __BEGIN_DECLS
unsigned long f_fsid; \
unsigned long f_flag; \
unsigned long f_namemax; \
__STATVFS64_RESERVED
struct statvfs { __STATVFS64_BODY };
struct statvfs64 { __STATVFS64_BODY };
#undef __STATVFS64_BODY
#undef __STATVFS64_RESERVED
#define ST_RDONLY 0x0001
#define ST_NOSUID 0x0002
#define ST_NODEV 0x0004