Skip to content
Snippets Groups Projects
Commit f839c4c1 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Remove BKL from the nfsv4 state recovery

parent a86dc496
No related branches found
No related tags found
No related merge requests found
...@@ -940,7 +940,6 @@ static int reclaimer(void *ptr) ...@@ -940,7 +940,6 @@ static int reclaimer(void *ptr)
allow_signal(SIGKILL); allow_signal(SIGKILL);
/* Ensure exclusive access to NFSv4 state */ /* Ensure exclusive access to NFSv4 state */
lock_kernel();
down_write(&clp->cl_sem); down_write(&clp->cl_sem);
/* Are there any NFS mounts out there? */ /* Are there any NFS mounts out there? */
if (list_empty(&clp->cl_superblocks)) if (list_empty(&clp->cl_superblocks))
...@@ -1000,7 +999,6 @@ static int reclaimer(void *ptr) ...@@ -1000,7 +999,6 @@ static int reclaimer(void *ptr)
nfs_delegation_reap_unclaimed(clp); nfs_delegation_reap_unclaimed(clp);
out: out:
up_write(&clp->cl_sem); up_write(&clp->cl_sem);
unlock_kernel();
if (status == -NFS4ERR_CB_PATH_DOWN) if (status == -NFS4ERR_CB_PATH_DOWN)
nfs_handle_cb_pathdown(clp); nfs_handle_cb_pathdown(clp);
nfs4_clear_recover_bit(clp); nfs4_clear_recover_bit(clp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment