nfs41: remove server-only EXCHGID4_FLAG_CONFIRMED_R flag from exchange_id
authorAlexandros Batsakis <batsakis@netapp.com>
Sat, 5 Dec 2009 18:33:25 +0000 (13:33 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Dec 2009 18:33:25 +0000 (13:33 -0500)
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c

index e07f6c7f5b97036be48856b66a74af9a703974fd..dfd1ea99e2d63384b3201fc7763f1ca81d4f8cd1 100644 (file)
@@ -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);