diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-05-27 22:29:07 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-09 18:09:00 +0200 |
commit | 549177863bac22f23663ee9f70c4e3b9fb269f2c (patch) | |
tree | 06ced21ed11c050cbb10f552b30e8e4368ccb487 /fs/nfs/dir.c | |
parent | SUNRPC: Display some debugging information as text rather than numbers (diff) | |
download | linux-549177863bac22f23663ee9f70c4e3b9fb269f2c.tar.xz linux-549177863bac22f23663ee9f70c4e3b9fb269f2c.zip |
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 982a2064fe4c..5d73fbd67070 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; } |