summaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-19 23:35:48 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-19 23:35:48 -0400
commit114c80f1416617399c85c2df09dd307532399903 (patch)
tree5168ccc178e9b854385fa23caab3e055ea7a555c /arch/x86_64
parent8c07f6eac843c2acb217083d48c4cef95f2b891c (diff)
downloadmusl-114c80f1416617399c85c2df09dd307532399903.tar.gz
fix the definition of struct statvfs to match lsb abi
at the same time, make struct statfs match the traditional definition and make it more useful, especially the fsid_t stuff.
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/bits/statfs.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/arch/x86_64/bits/statfs.h b/arch/x86_64/bits/statfs.h
index 63de75bb..f103f4e4 100644
--- a/arch/x86_64/bits/statfs.h
+++ b/arch/x86_64/bits/statfs.h
@@ -1,15 +1,7 @@
-struct statvfs {
- unsigned long f_type;
- unsigned long f_bsize;
- fsblkcnt_t f_blocks;
- fsblkcnt_t f_bfree;
- fsblkcnt_t f_bavail;
- fsfilcnt_t f_files;
- fsfilcnt_t f_ffree;
- unsigned long f_fsid;
- unsigned long f_namemax;
- unsigned long f_frsize;
- fsfilcnt_t f_favail;
- unsigned long f_flag;
- unsigned long __reserved[3];
+struct statfs {
+ unsigned long f_type, f_bsize;
+ fsblkcnt_t f_blocks, f_bfree, f_bavail;
+ fsfilcnt_t f_files, f_ffree;
+ fsid_t f_fsid;
+ unsigned long f_namelen, f_frsize, f_flags, f_spare[4];
};