Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 15f4b63..38817c3 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -1500,11 +1500,8 @@ nfsd4_sequence(struct svc_rqst *rqstp, out: spin_unlock(&sessionid_lock); /* Renew the clientid on success and on replay */ - if (cstate->session) { - nfs4_lock_state(); + if (cstate->session) mark_client_for_renew(cstate, session->se_client); - nfs4_unlock_state(); - } dprintk("%s: return %d\n", __func__, ntohl(status)); return status; } -- 1.6.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html