From: Trond Myklebust Date: Wed, 30 Jul 2014 12:27:30 +0000 (-0400) Subject: nfsd: Remove nfs4_lock_state(): nfsd4_delegreturn() X-Git-Tag: v3.17-rc1~58^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=084d4d4549d88f7a27f455f9fe8a03fd9842f5ba;p=karo-tx-linux.git nfsd: Remove nfs4_lock_state(): nfsd4_delegreturn() Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index cde72d85991d..733e653e67b8 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; }