linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Benny Halevy <benny@tonian.com>
Cc: bfields@netapp.com, linux-nfs@vger.kernel.org,
	Benny Halevy <bhalevy@tonian.com>
Subject: Re: [PATCH] nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access
Date: Fri, 28 Oct 2011 06:02:04 -0400	[thread overview]
Message-ID: <20111028100204.GB2604@fieldses.org> (raw)
In-Reply-To: <1319740981-3338-1-git-send-email-benny@tonian.com>

Oh cripes, another one.  Thanks for catching this one too.

--b.

On Thu, Oct 27, 2011 at 08:43:01PM +0200, Benny Halevy wrote:
> From: Benny Halevy <bhalevy@tonian.com>
> 
> Signed-off-by: Benny Halevy <bhalevy@tonian.com>
> ---
>  fs/nfsd/nfs4xdr.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
> index 66d095d..b6fa792 100644
> --- a/fs/nfsd/nfs4xdr.c
> +++ b/fs/nfsd/nfs4xdr.c
> @@ -655,7 +655,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x)
>  	default:
>  		return nfserr_bad_xdr;
>  	}
> -	w &= !NFS4_SHARE_ACCESS_MASK;
> +	w &= ~NFS4_SHARE_ACCESS_MASK;
>  	if (!w)
>  		return nfs_ok;
>  	if (!argp->minorversion)
> -- 
> 1.7.6
> 
> --
> 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

      reply	other threads:[~2011-10-28 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 18:43 [PATCH] nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access Benny Halevy
2011-10-28 10:02 ` J. Bruce Fields [this message]

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=20111028100204.GB2604@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=benny@tonian.com \
    --cc=bfields@netapp.com \
    --cc=bhalevy@tonian.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 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).