diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-30 08:27:34 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-05 10:55:19 -0400 |
commit | 05149dd4dcfb45a57def3f6277bc636110a45b7a (patch) | |
tree | ae76894a3fd92621f7ecdb2beae1dc5853c84b5f /fs/nfsd | |
parent | cb86fb1428499160eea1be7612127952eec69122 (diff) |
nfsd: Remove nfs4_lock_state(): reclaim_complete()
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index a4ae38b61933..3b9a1a6348c6 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 | |||
2909 | return nfs_ok; | 2909 | return nfs_ok; |
2910 | } | 2910 | } |
2911 | 2911 | ||
2912 | nfs4_lock_state(); | ||
2913 | status = nfserr_complete_already; | 2912 | status = nfserr_complete_already; |
2914 | if (test_and_set_bit(NFSD4_CLIENT_RECLAIM_COMPLETE, | 2913 | if (test_and_set_bit(NFSD4_CLIENT_RECLAIM_COMPLETE, |
2915 | &cstate->session->se_client->cl_flags)) | 2914 | &cstate->session->se_client->cl_flags)) |
@@ -2929,7 +2928,6 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp, struct nfsd4_compound_state *csta | |||
2929 | status = nfs_ok; | 2928 | status = nfs_ok; |
2930 | nfsd4_client_record_create(cstate->session->se_client); | 2929 | nfsd4_client_record_create(cstate->session->se_client); |
2931 | out: | 2930 | out: |
2932 | nfs4_unlock_state(); | ||
2933 | return status; | 2931 | return status; |
2934 | } | 2932 | } |
2935 | 2933 | ||