Commit 0f1ba0ef authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: fix exchange_id to return confirm flag

Otherwise nfsd4_set_ex_flags writes over the return flags.
Reported-by: default avatarBryan Schumaker <bjschuma@netapp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 7447758b
...@@ -1617,7 +1617,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, ...@@ -1617,7 +1617,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
goto expire_client; goto expire_client;
} }
if (verfs_match) { /* case 2 */ if (verfs_match) { /* case 2 */
exid->flags |= EXCHGID4_FLAG_CONFIRMED_R; conf->cl_exchange_flags |= EXCHGID4_FLAG_CONFIRMED_R;
new = conf; new = conf;
goto out_copy; goto out_copy;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment