• Al Viro's avatar
    clean statfs-like syscalls up · c8b91acc
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
statfs.c 5 KB