clean statfs-like syscalls up
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 12 Mar 2011 15:41:39 +0000 (10:41 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:28 +0000 (09:15 -0400)
commitc8b91accfa1059d5565443193d89572eca2f5dd6
tree74f6061a20accac87a5f349ae8a34c4815cde88d
parent73d049a40fc6269189c4e2ba6792cb5dd054883c
clean statfs-like syscalls up

New helpers: user_statfs() and fd_statfs(), taking userland pathname and
descriptor resp. and filling struct kstatfs.  Syscalls of statfs family
(native, compat and foreign - osf and hpux on alpha and parisc resp.)
switched to those.  Removes some boilerplate code, simplifies cleanup
on errors...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/osf_sys.c
arch/parisc/hpux/sys_hpux.c
fs/compat.c
fs/statfs.c
include/linux/fs.h