diff mbox

[1/1] : fix bug in CREATE_SESSION encoding

Message ID BANLkTikv_vi7eR8Xu-_K5F5D5Smrj=goog@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sid Moore June 10, 2011, 6:32 a.m. UTC
Hi

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


        *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
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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 */