summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorFrank Filz <ffilzlnx@us.ibm.com>2006-10-17 10:24:42 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 10:46:31 -0500
commiteb5f8545ffff98a11c6656d4d2106341ab69c57d (patch)
tree0fcde40742048fde8ec1e514de20ee74b04635c7 /fs/nfs
parentcae823c4c089d2c7c2a90f39f20376ccd85f9893 (diff)
downloadblackbird-op-linux-eb5f8545ffff98a11c6656d4d2106341ab69c57d.tar.gz
blackbird-op-linux-eb5f8545ffff98a11c6656d4d2106341ab69c57d.zip
NFS: Remove use of the Big Kernel Lock around nfs calls to readlink
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/symlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c
index 600bbe630abd..6c686112cc03 100644
--- a/fs/nfs/symlink.c
+++ b/fs/nfs/symlink.c
@@ -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);
OpenPOWER on IntegriCloud