diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-05-27 16:29:07 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-09 12:09:00 -0400 |
commit | 549177863bac22f23663ee9f70c4e3b9fb269f2c (patch) | |
tree | 06ced21ed11c050cbb10f552b30e8e4368ccb487 /fs/nfs/dir.c | |
parent | cb3997b5a0b21864368bd1bd1d0929f9304fb6d9 (diff) | |
download | op-kernel-dev-549177863bac22f23663ee9f70c4e3b9fb269f2c.zip op-kernel-dev-549177863bac22f23663ee9f70c4e3b9fb269f2c.tar.gz |
NFS: Make nfs_fsync methods consistent
Clean up: Report the same debugging info, count function calls the same,
and use similar function naming in nfs_fsync_dir() and nfs_fsync().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 982a206..5d73fbd 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -629,10 +629,11 @@ out: */ static int nfs_fsync_dir(struct file *filp, struct dentry *dentry, int datasync) { - dfprintk(VFS, "NFS: fsync_dir(%s/%s) datasync %d\n", + dfprintk(VFS, "NFS: fsync dir(%s/%s) datasync %d\n", dentry->d_parent->d_name.name, dentry->d_name.name, datasync); + nfs_inc_stats(dentry->d_inode, NFSIOS_VFSFSYNC); return 0; } |