nfsd: Remove nfs4_lock_state(): nfsd4_open and nfsd4_open_confirm
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:

committed by
J. Bruce Fields

parent
084d4d4549
commit
3234975f47
@@ -385,8 +385,6 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
||||
if (nfsd4_has_session(cstate))
|
||||
copy_clientid(&open->op_clientid, cstate->session);
|
||||
|
||||
nfs4_lock_state();
|
||||
|
||||
/* check seqid for replay. set nfs4_owner */
|
||||
resp = rqstp->rq_resp;
|
||||
status = nfsd4_process_open1(&resp->cstate, open, nn);
|
||||
@@ -471,7 +469,6 @@ out:
|
||||
}
|
||||
nfsd4_cleanup_open_state(cstate, open, status);
|
||||
nfsd4_bump_seqid(cstate, status);
|
||||
nfs4_unlock_state();
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user