projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9247685
)
nfsd4: don't cache seq_misordered replies
author
J. Bruce Fields
<bfields@redhat.com>
Sat, 2 Oct 2010 21:03:35 +0000
(17:03 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 21 Oct 2010 14:11:48 +0000
(10:11 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index
02c23b7
..
7f12828
100644
(file)
--- 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: