summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-02 17:03:35 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-21 10:11:48 -0400
commitcd5b814458e5554457c6e62f17aed122145b065e (patch)
tree70b0caa4b10512273be3d40224e83a5a89dba664 /fs/nfsd
parent9247685088398cf21bcb513bd2832b4cd42516c4 (diff)
downloadlinux-3.10-cd5b814458e5554457c6e62f17aed122145b065e.tar.gz
linux-3.10-cd5b814458e5554457c6e62f17aed122145b065e.tar.bz2
linux-3.10-cd5b814458e5554457c6e62f17aed122145b065e.zip
nfsd4: don't cache seq_misordered replies
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 02c23b7c5cd..7f1282859cd 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -1510,7 +1510,7 @@ nfsd4_create_session(struct svc_rqst *rqstp,
if (status) {
/* an unconfirmed replay returns misordered */
status = nfserr_seq_misordered;
- goto out_cache;
+ goto out;
}
cs_slot->sl_seqid++; /* from 0 to 1 */
@@ -1549,7 +1549,6 @@ nfsd4_create_session(struct svc_rqst *rqstp,
NFS4_MAX_SESSIONID_LEN);
cr_ses->seqid = cs_slot->sl_seqid;
-out_cache:
/* cache solo and embedded create sessions under the state lock */
nfsd4_cache_create_session(cr_ses, cs_slot, status);
out: