From: Trond Myklebust Date: Wed, 30 Jul 2014 12:27:34 +0000 (-0400) Subject: nfsd: Remove nfs4_lock_state(): reclaim_complete() X-Git-Tag: v3.17-rc1~58^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05149dd4dcfb45a57def3f6277bc636110a45b7a;p=platform%2Fkernel%2Flinux-exynos.git nfsd: Remove nfs4_lock_state(): reclaim_complete() Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index a4ae38b..3b9a1a6 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -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; }