summaryrefslogtreecommitdiffstats
path: root/fs/nfs/symlink.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-02-20 02:03:30 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-03-05 21:44:56 +0100
commit1cda707d52e51a6cafac0aef12d2bd7052d572e6 (patch)
tree7a63b005631cca98f62ea199fef739eddce85d32 /fs/nfs/symlink.c
parentNFS: Clean up nfs_sync_mapping (diff)
downloadlinux-1cda707d52e51a6cafac0aef12d2bd7052d572e6.tar.xz
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/symlink.c')
-rw-r--r--fs/nfs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c
index 412738dbfbc7..2ea9e5c27e55 100644
--- a/fs/nfs/symlink.c
+++ b/fs/nfs/symlink.c
@@ -50,7 +50,7 @@ static void *nfs_follow_link(struct dentry *dentry, struct nameidata *nd)
struct page *page;
void *err;
- err = ERR_PTR(nfs_revalidate_mapping_nolock(inode, inode->i_mapping));
+ err = ERR_PTR(nfs_revalidate_mapping(inode, inode->i_mapping));
if (err)
goto read_failed;
page = read_cache_page(&inode->i_data, 0,