diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-08-11 14:07:28 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-08-11 14:07:28 -0700 |
commit | 3cdaa6adb113a088fdfb87aa6d7747557eccc58d (patch) | |
tree | 0664c1988c460e77b5e4caf6606c07ec5822d7b2 /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 754f7da38b0904b4b989d3500cc8dd5be625cf6a (diff) | |
download | glibc-3cdaa6adb113a088fdfb87aa6d7747557eccc58d.tar glibc-3cdaa6adb113a088fdfb87aa6d7747557eccc58d.tar.gz glibc-3cdaa6adb113a088fdfb87aa6d7747557eccc58d.tar.bz2 glibc-3cdaa6adb113a088fdfb87aa6d7747557eccc58d.zip |
f_flags in Linux statfs implementation.
The 2.6.36 kernel provides an additional field in the statfs results.
Use this value in the statvfs emulation to avoid filling in f_flag
the hard way.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index b3f2456150..838b310fcc 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -530,3 +530,8 @@ #if __LINUX_KERNEL_VERSION >= 0x020621 # define __ASSUME_RECVMMSG 1 #endif + +/* statfs fills in f_flags since 2.6.36. */ +#if __LINUX_KERNEL_VERSION >= 0x020624 +# define __ASSUME_STATFS_F_FLAGS 1 +#endif |