Commit [ebabe9] Maximize Restore History

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>

Christoph Hellwig Christoph Hellwig 2010-07-07

Al Viro Al Viro 2010-08-09

changed arch/alpha/kernel/osf_sys.c
changed arch/parisc/hpux/sys_hpux.c
changed fs/cachefiles/bind.c
changed fs/cachefiles/daemon.c
changed fs/ecryptfs/super.c
changed fs/nfsd/nfs4xdr.c
changed fs/nfsd/vfs.c
changed fs/compat.c
changed fs/statfs.c
changed include/linux/fs.h
changed kernel/acct.c
arch/alpha/kernel/osf_sys.c Diff Switch to side-by-side view
Loading...
arch/parisc/hpux/sys_hpux.c Diff Switch to side-by-side view
Loading...
fs/cachefiles/bind.c Diff Switch to side-by-side view
Loading...
fs/cachefiles/daemon.c Diff Switch to side-by-side view
Loading...
fs/ecryptfs/super.c Diff Switch to side-by-side view
Loading...
fs/nfsd/nfs4xdr.c Diff Switch to side-by-side view
Loading...
fs/nfsd/vfs.c Diff Switch to side-by-side view
Loading...
fs/compat.c Diff Switch to side-by-side view
Loading...
fs/statfs.c Diff Switch to side-by-side view
Loading...
include/linux/fs.h Diff Switch to side-by-side view
Loading...
kernel/acct.c Diff Switch to side-by-side view
Loading...