Skip to content

Commit

Permalink
NFS: Remove use of the Big Kernel Lock around nfs calls to readlink
Browse files Browse the repository at this point in the history
Remove use of the Big Kernel Lock around indirect calls to
nfs3_proc_readlink and nfs4_proc_readlink, both of which
basically call rpc_call_sync.

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Frank Filz authored and Trond Myklebust committed Dec 6, 2006
1 parent cae823c commit eb5f854
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/nfs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ static int nfs_symlink_filler(struct inode *inode, struct page *page)
{
int error;

lock_kernel();
error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE);
unlock_kernel();
if (error < 0)
goto error;
SetPageUptodate(page);
Expand Down

0 comments on commit eb5f854

Please sign in to comment.