1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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.
This commit is contained in:
Joseph Myers
2017-05-12 11:48:37 +00:00
parent 7c3018f9e4
commit e8f1225ca4
3 changed files with 8 additions and 199 deletions

View File

@ -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