Message ID | 1403189450-18729-94-git-send-email-jlayton@primarydata.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 6aba06ec5dfc..254ae3e7f8b6 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -5423,11 +5423,9 @@ nfsd4_release_lockowner(struct svc_rqst *rqstp, dprintk("nfsd4_release_lockowner clientid: (%08x/%08x):\n", clid->cl_boot, clid->cl_id); - nfs4_lock_state(); - status = lookup_clientid(clid, cstate, nn); if (status) - goto out; + return status; status = nfserr_locks_held; INIT_LIST_HEAD(&matches); @@ -5468,7 +5466,6 @@ nfsd4_release_lockowner(struct svc_rqst *rqstp, out: if (sop) nfs4_put_stateowner(sop); - nfs4_unlock_state(); return status; }