summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-02-19 17:03:30 -0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-03-05 15:44:56 -0500
commit1cda707d52e51a6cafac0aef12d2bd7052d572e6 (patch)
tree7a63b005631cca98f62ea199fef739eddce85d32 /fs/nfs/dir.c
parent5cf95214ccb915591e2214f81de4659302d3e452 (diff)
downloadlinux-1cda707d52e51a6cafac0aef12d2bd7052d572e6.tar.gz
linux-1cda707d52e51a6cafac0aef12d2bd7052d572e6.tar.bz2
linux-1cda707d52e51a6cafac0aef12d2bd7052d572e6.zip
NFS: Remove requirement for inode->i_mutex from nfs_invalidate_mapping
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 3c7f03b669fb..a1f6b4438fb1 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -560,7 +560,7 @@ static int nfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
desc->entry = &my_entry;
nfs_block_sillyrename(dentry);
- res = nfs_revalidate_mapping_nolock(inode, filp->f_mapping);
+ res = nfs_revalidate_mapping(inode, filp->f_mapping);
if (res < 0)
goto out;