mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user