All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sid Moore <learnmost@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: [patch 1/1]: fix bug in CREATE_SESSION encoding
Date: Fri, 10 Jun 2011 14:32:03 +0800	[thread overview]
Message-ID: <BANLkTikv_vi7eR8Xu-_K5F5D5Smrj=goog@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-06-10  6:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10  6:32 Sid Moore [this message]
2011-06-10 19:55 ` [patch 1/1]: fix bug in CREATE_SESSION encoding Benny Halevy
2011-06-11  0:52   ` Trond Myklebust
2011-06-11 21:08     ` [PATCH] NFSv4.1: deprecate headerpadsz in CREATE_SESSION Benny Halevy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTikv_vi7eR8Xu-_K5F5D5Smrj=goog@mail.gmail.com' \
    --to=learnmost@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.