nfsd: Remove nfs4_lock_state(): reclaim_complete()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
cb86fb1428
commit
05149dd4dc
|
@ -2909,7 +2909,6 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp, struct nfsd4_compound_state *csta
|
|||
return nfs_ok;
|
||||
}
|
||||
|
||||
nfs4_lock_state();
|
||||
status = nfserr_complete_already;
|
||||
if (test_and_set_bit(NFSD4_CLIENT_RECLAIM_COMPLETE,
|
||||
&cstate->session->se_client->cl_flags))
|
||||
|
@ -2929,7 +2928,6 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp, struct nfsd4_compound_state *csta
|
|||
status = nfs_ok;
|
||||
nfsd4_client_record_create(cstate->session->se_client);
|
||||
out:
|
||||
nfs4_unlock_state();
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue