X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnfs%2Fnfs4state.c;h=401ef8b28f979231cc291ad016586abd353eff42;hb=c5b0079c0a7641caac3fedab75e8e63aeb54d7e2;hp=856a8934f610ef4addd8ea4b51deb5d918dd5e53;hpb=1beee8dc8cf58e3f605bd7b34d7a39939be7d8d2;p=linux-2.6 diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 856a8934f6..401ef8b28f 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);