summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust2008-06-11 21:44:26 +0200
committerTrond Myklebust2008-07-16 00:10:57 +0200
commitf839c4c1991cc9b580ae38f98f54554938a7f49c (patch)
treef31d02b9e63c2042d0750133dbaec368a63fb628 /fs
parentSUNRPC: Remove the BKL from the callback functions (diff)
downloadkernel-qcow2-linux-f839c4c1991cc9b580ae38f98f54554938a7f49c.tar.gz
kernel-qcow2-linux-f839c4c1991cc9b580ae38f98f54554938a7f49c.tar.xz
kernel-qcow2-linux-f839c4c1991cc9b580ae38f98f54554938a7f49c.zip
NFSv4: Remove BKL from the nfsv4 state recovery
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 856a8934f610..401ef8b28f97 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -940,7 +940,6 @@ static int reclaimer(void *ptr)
allow_signal(SIGKILL);
/* Ensure exclusive access to NFSv4 state */
- lock_kernel();
down_write(&clp->cl_sem);
/* Are there any NFS mounts out there? */
if (list_empty(&clp->cl_superblocks))
@@ -1000,7 +999,6 @@ restart_loop:
nfs_delegation_reap_unclaimed(clp);
out:
up_write(&clp->cl_sem);
- unlock_kernel();
if (status == -NFS4ERR_CB_PATH_DOWN)
nfs_handle_cb_pathdown(clp);
nfs4_clear_recover_bit(clp);