diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-05-12 11:48:37 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-05-12 11:48:37 +0000 |
commit | e8f1225ca4d4afa4043c5267ae6dbe12268e2637 (patch) | |
tree | cac81bc83b3e32e7694fc2fa7b1d2cb3766315fb /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 7c3018f9e4de2e9d1f03a749be41b5eced6f9834 (diff) | |
download | glibc-e8f1225ca4d4afa4043c5267ae6dbe12268e2637.tar glibc-e8f1225ca4d4afa4043c5267ae6dbe12268e2637.tar.gz glibc-e8f1225ca4d4afa4043c5267ae6dbe12268e2637.tar.bz2 glibc-e8f1225ca4d4afa4043c5267ae6dbe12268e2637.zip |
Remove __ASSUME_STATFS_F_FLAGS.
Now that 3.2 is the minimum Linux kernel version for glibc, this patch
removes __ASSUME_STATFS_F_FLAGS and associated conditional code.
Tested for x86_64.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_STATFS_F_FLAGS): Remove macro.
* sysdeps/unix/sysv/linux/internal_statvfs.c
[!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 76053b5451..8961e4dd78 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -78,11 +78,6 @@ #define __ASSUME_PREADV 1 #define __ASSUME_PWRITEV 1 -/* statfs fills in f_flags since 2.6.36. */ -#if __LINUX_KERNEL_VERSION >= 0x020624 -# define __ASSUME_STATFS_F_FLAGS 1 -#endif - /* Support for sendmmsg functionality was added in 3.0. */ #define __ASSUME_SENDMMSG 1 |