aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 71a49c3acabd..119fefef13f3 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -431,7 +431,7 @@ int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
431 431
432 /* Flush out writes to the server in order to update c/mtime */ 432 /* Flush out writes to the server in order to update c/mtime */
433 if (S_ISREG(inode->i_mode)) 433 if (S_ISREG(inode->i_mode))
434 nfs_sync_mapping_range(inode->i_mapping, 0, 0, FLUSH_NOCOMMIT); 434 nfs_wb_nocommit(inode);
435 435
436 /* 436 /*
437 * We may force a getattr if the user cares about atime. 437 * We may force a getattr if the user cares about atime.