summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-30 08:27:30 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-05 10:55:15 -0400
commit084d4d4549d88f7a27f455f9fe8a03fd9842f5ba (patch)
tree2e8c062e719b565672632008af431a523c0645c0 /fs/nfsd
parent36626a2ecfcf23530bf5439679d3a4d040d6cc0d (diff)
downloadop-kernel-dev-084d4d4549d88f7a27f455f9fe8a03fd9842f5ba.zip
op-kernel-dev-084d4d4549d88f7a27f455f9fe8a03fd9842f5ba.tar.gz
nfsd: Remove nfs4_lock_state(): nfsd4_delegreturn()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index cde72d8..733e653 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4855,7 +4855,6 @@ nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
if ((status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0)))
return status;
- nfs4_lock_state();
status = nfsd4_lookup_stateid(cstate, stateid, NFS4_DELEG_STID, &s, nn);
if (status)
goto out;
@@ -4868,8 +4867,6 @@ nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
put_stateid:
nfs4_put_stid(&dp->dl_stid);
out:
- nfs4_unlock_state();
-
return status;
}
OpenPOWER on IntegriCloud