summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorAlexandros Batsakis2009-12-05 19:33:25 +0100
committerTrond Myklebust2009-12-05 19:33:25 +0100
commit7b183d0d432ab3525ae29511a5348ead3e790620 (patch)
treea4964a75e67f58fa3e8806f2e4881edca9460b35 /fs/nfs
parentnfs41: add support for the exclusive create flags (diff)
downloadkernel-qcow2-linux-7b183d0d432ab3525ae29511a5348ead3e790620.tar.gz
kernel-qcow2-linux-7b183d0d432ab3525ae29511a5348ead3e790620.tar.xz
kernel-qcow2-linux-7b183d0d432ab3525ae29511a5348ead3e790620.zip
nfs41: remove server-only EXCHGID4_FLAG_CONFIRMED_R flag from exchange_id
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index e07f6c7f5b97..dfd1ea99e2d6 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4349,6 +4349,9 @@ int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred)
dprintk("--> %s\n", __func__);
BUG_ON(clp == NULL);
+ /* Remove server-only flags */
+ args.flags &= ~EXCHGID4_FLAG_CONFIRMED_R;
+
p = (u32 *)verifier.data;
*p++ = htonl((u32)clp->cl_boot_time.tv_sec);
*p = htonl((u32)clp->cl_boot_time.tv_nsec);