projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7447758
)
nfsd4: fix exchange_id to return confirm flag
author
J. Bruce Fields
<bfields@redhat.com>
Sat, 26 May 2012 01:24:40 +0000
(21:24 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 1 Jun 2012 00:30:21 +0000
(20:30 -0400)
Otherwise nfsd4_set_ex_flags writes over the return flags.
Reported-by: Bryan Schumaker <bjschuma@netapp.com>
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 e4d9b56a770a670529ded3d7b114b3e7c2f5459d..83a68983aa26ab26755d8ca70b4d7e850e194c1b 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-1617,7
+1617,7
@@
nfsd4_exchange_id(struct svc_rqst *rqstp,
goto expire_client;
}
if (verfs_match) { /* case 2 */
-
exid->
flags |= EXCHGID4_FLAG_CONFIRMED_R;
+
conf->cl_exchange_
flags |= EXCHGID4_FLAG_CONFIRMED_R;
new = conf;
goto out_copy;
}