diff options
author | Frank Filz <ffilzlnx@us.ibm.com> | 2006-10-17 19:24:42 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 16:46:31 +0100 |
commit | eb5f8545ffff98a11c6656d4d2106341ab69c57d (patch) | |
tree | 0fcde40742048fde8ec1e514de20ee74b04635c7 /fs/nfs/symlink.c | |
parent | NFS: Remove use of the Big Kernel Lock around calls to rpc_call_sync (diff) | |
download | linux-eb5f8545ffff98a11c6656d4d2106341ab69c57d.tar.xz 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/symlink.c')
-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 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); |