From 0f1ba0ef213193aecf9baf8b4a3919cff4907e5d Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" <bfields@redhat.com> Date: Fri, 25 May 2012 21:24:40 -0400 Subject: nfsd4: fix exchange_id to return confirm flag 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/nfsd') diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index e4d9b56a770..83a68983aa2 100644 --- 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; } -- cgit v1.2.3-18-g5258