Commit f839c4c1991cc9b580ae38f98f54554938a7f49c
1 parent
a86dc496b7
Exists in
master
and in
39 other branches
NFSv4: Remove BKL from the nfsv4 state recovery
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
fs/nfs/nfs4state.c
... | ... | @@ -940,7 +940,6 @@ |
940 | 940 | allow_signal(SIGKILL); |
941 | 941 | |
942 | 942 | /* Ensure exclusive access to NFSv4 state */ |
943 | - lock_kernel(); | |
944 | 943 | down_write(&clp->cl_sem); |
945 | 944 | /* Are there any NFS mounts out there? */ |
946 | 945 | if (list_empty(&clp->cl_superblocks)) |
... | ... | @@ -1000,7 +999,6 @@ |
1000 | 999 | nfs_delegation_reap_unclaimed(clp); |
1001 | 1000 | out: |
1002 | 1001 | up_write(&clp->cl_sem); |
1003 | - unlock_kernel(); | |
1004 | 1002 | if (status == -NFS4ERR_CB_PATH_DOWN) |
1005 | 1003 | nfs_handle_cb_pathdown(clp); |
1006 | 1004 | nfs4_clear_recover_bit(clp); |