commit | c8b91accfa1059d5565443193d89572eca2f5dd6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Mar 12 10:41:39 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 14 09:15:28 2011 -0400 |
tree | 74f6061a20accac87a5f349ae8a34c4815cde88d | |
parent | 73d049a40fc6269189c4e2ba6792cb5dd054883c [diff] |
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>