diff options
author | Frank Filz <ffilzlnx@us.ibm.com> | 2006-10-17 17:24:42 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 15:46:31 (GMT) |
commit | eb5f8545ffff98a11c6656d4d2106341ab69c57d (patch) | |
tree | 0fcde40742048fde8ec1e514de20ee74b04635c7 /fs | |
parent | cae823c4c089d2c7c2a90f39f20376ccd85f9893 (diff) | |
download | linux-eb5f8545ffff98a11c6656d4d2106341ab69c57d.tar.xz |
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')
-rw-r--r-- | fs/nfs/symlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c index 600bbe6..6c68611 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); |