compat: copy missing fields in compat_statfs64 to user
authorNamhyung Kim <namhyung@gmail.com>
Sun, 26 Dec 2010 16:41:54 +0000 (01:41 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 09:54:38 +0000 (04:54 -0500)
commite0bb6bda43e20aa1db5774c73a519cd52c463a55
tree84af59ed571cda0a3b023caf50b2b538ac5c2554
parent974d879e8070bbb132bd4e79ef314703853d0b82
compat: copy missing fields in compat_statfs64 to user

f_flags and f_spare fields were not copied to userspace when
compat_sys_[f]statfs64 called.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat.c