aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-05-27 16:29:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-07-09 12:09:00 -0400
commit549177863bac22f23663ee9f70c4e3b9fb269f2c (patch)
tree06ced21ed11c050cbb10f552b30e8e4368ccb487 /fs/nfs/dir.c
parentcb3997b5a0b21864368bd1bd1d0929f9304fb6d9 (diff)
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.c3
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:
629 */ 629 */
630static int nfs_fsync_dir(struct file *filp, struct dentry *dentry, int datasync) 630static int nfs_fsync_dir(struct file *filp, struct dentry *dentry, int datasync)
631{ 631{
632 dfprintk(VFS, "NFS: fsync_dir(%s/%s) datasync %d\n", 632 dfprintk(VFS, "NFS: fsync dir(%s/%s) datasync %d\n",
633 dentry->d_parent->d_name.name, dentry->d_name.name, 633 dentry->d_parent->d_name.name, dentry->d_name.name,
634 datasync); 634 datasync);
635 635
636 nfs_inc_stats(dentry->d_inode, NFSIOS_VFSFSYNC);
636 return 0; 637 return 0;
637} 638}
638 639