linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1]: fix bug in CREATE_SESSION encoding
@ 2011-06-10  6:32 Sid Moore
  2011-06-10 19:55 ` Benny Halevy
  0 siblings, 1 reply; 4+ messages in thread
From: Sid Moore @ 2011-06-10  6:32 UTC (permalink / raw)
  To: linux-nfs

Hi

I think it might be an error when typing. see the patch below.


--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -1772,7 +1772,7 @@ static void encode_create_session(struct xdr_stream *xdr,
        *p++ = cpu_to_be32(0);                          /* rdmachannel_attrs */

        /* Back Channel */
-       *p++ = cpu_to_be32(args->fc_attrs.headerpadsz); /* header
padding size */
+       *p++ = cpu_to_be32(args->bc_attrs.headerpadsz); /* header
padding size */
        *p++ = cpu_to_be32(args->bc_attrs.max_rqst_sz); /* max req size */
        *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz); /* max resp size */
        *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz_cached);  /* Max
resp sz cached */

--
Sid

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

end of thread, other threads:[~2011-06-11 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10  6:32 [patch 1/1]: fix bug in CREATE_SESSION encoding Sid Moore
2011-06-10 19:55 ` Benny Halevy
2011-06-11  0:52   ` Trond Myklebust
2011-06-11 21:08     ` [PATCH] NFSv4.1: deprecate headerpadsz in CREATE_SESSION Benny Halevy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).