From: Frank Filz Date: Tue, 17 Oct 2006 17:24:42 +0000 (-0700) Subject: NFS: Remove use of the Big Kernel Lock around nfs calls to readlink X-Git-Tag: v2.6.20-rc1~34^2~412^2~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5f8545ffff98a11c6656d4d2106341ab69c57d;p=linux-2.6 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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c index 600bbe630a..6c686112cc 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);