public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [pnfs][PATCH 1/2]pnfs: replace lease_bitmap to length 3, instead of 2.
@ 2009-06-29  2:16 Tao Guo
       [not found] ` <4A485B7C.2000809@desy.de>
  0 siblings, 1 reply; 3+ messages in thread
From: Tao Guo @ 2009-06-29  2:16 UTC (permalink / raw)
  To: Benny Halevy; +Cc: Fredric Isaman, bfields, linux-nfs, pnfs

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index b1e3ce2..231ad24 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -2619,7 +2619,7 @@ static int
nfs4_xdr_enc_setclientid_confirm(struct rpc_rqst *req, __be32 *p, str
        struct compound_hdr hdr = {
                .nops   = 0,
        };
-       const u32 lease_bitmap[2] = { FATTR4_WORD0_LEASE_TIME, 0 };
+       const u32 lease_bitmap[3] = { FATTR4_WORD0_LEASE_TIME, 0, 0 };

        xdr_init_encode(&xdr, &req->rq_snd_buf, p);
        encode_compound_hdr(&xdr, req, &hdr);
@@ -2770,7 +2770,7 @@ static int nfs4_xdr_enc_get_lease_time(struct
rpc_rqst *req, uint32_t *p,
        struct compound_hdr hdr = {
                .minorversion = clp->cl_minorversion,
        };
-       const u32 lease_bitmap[2] = { FATTR4_WORD0_LEASE_TIME, 0 };
+       const u32 lease_bitmap[2] = { FATTR4_WORD0_LEASE_TIME, 0, 0 };

        xdr_init_encode(&xdr, &req->rq_snd_buf, p);
        encode_compound_hdr(&xdr, req, &hdr);

-- 
tao.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-29  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29  2:16 [pnfs][PATCH 1/2]pnfs: replace lease_bitmap to length 3, instead of 2 Tao Guo
     [not found] ` <4A485B7C.2000809@desy.de>
2009-06-29  6:50   ` [pnfs] [PATCH " Tao Guo
     [not found]     ` <318b7ac70906282350u71c641dbu584b4e84cd39d59d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-29  8:02       ` Benny Halevy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox