pass a struct path to vfs_statfs
We'll need the path to implement the flags field for statvfs support. We do have it available in all callers except: - ecryptfs_statfs. This one doesn't actually need vfs_statfs but just needs to do a caller to the lower filesystem statfs method. - sys_ustat. Add a non-exported statfs_by_dentry helper for it which doesn't won't be able to fill out the flags field later on. In addition rename the helpers for statfs vs fstatfs to do_*statfs instead of the misleading vfs prefix. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- arch/alpha/kernel/osf_sys.c 4 additions, 4 deletionsarch/alpha/kernel/osf_sys.c
- arch/parisc/hpux/sys_hpux.c 5 additions, 5 deletionsarch/parisc/hpux/sys_hpux.c
- fs/cachefiles/bind.c 1 addition, 1 deletionfs/cachefiles/bind.c
- fs/cachefiles/daemon.c 5 additions, 1 deletionfs/cachefiles/daemon.c
- fs/compat.c 5 additions, 5 deletionsfs/compat.c
- fs/ecryptfs/super.c 5 additions, 1 deletionfs/ecryptfs/super.c
- fs/nfsd/nfs4xdr.c 5 additions, 1 deletionfs/nfsd/nfs4xdr.c
- fs/nfsd/vfs.c 8 additions, 2 deletionsfs/nfsd/vfs.c
- fs/statfs.c 26 additions, 24 deletionsfs/statfs.c
- include/linux/fs.h 2 additions, 1 deletioninclude/linux/fs.h
- kernel/acct.c 1 addition, 1 deletionkernel/acct.c
Loading
Please register or sign in to comment