add f_flags to struct statfs(64)
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Jul 2010 16:53:25 +0000 (18:53 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:48:44 +0000 (16:48 -0400)
commit365b18189789bfa1acd9939e6312b8a4b4577b28
treeffb71da8e11c7751002d018d0b44c41776bc92a3
parentebabe9a9001af0af56c0c2780ca1576246e7a74b
add f_flags to struct statfs(64)

Add a flags field to help glibc implementing statvfs(3) efficiently.

We copy the flag values from glibc, and add a new ST_VALID flag to
denote that f_flags is implemented.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/mips/include/asm/statfs.h
arch/s390/include/asm/statfs.h
fs/statfs.c
include/asm-generic/statfs.h
include/linux/statfs.h