NFS: Remove use of the Big Kernel Lock around nfs calls to readlink
authorFrank Filz <ffilzlnx@us.ibm.com>
Tue, 17 Oct 2006 17:24:42 +0000 (10:24 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:31 +0000 (10:46 -0500)
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>
fs/nfs/symlink.c

index 600bbe630abd99cdc6e8f9074984495630c9adc1..6c686112cc03fa3c3dcea70180653640d95aaeb9 100644 (file)
@@ -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);