linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nfsd typo fix for 3.2
@ 2011-11-02 22:32 J. Bruce Fields
  0 siblings, 0 replies; only message in thread
From: J. Bruce Fields @ 2011-11-02 22:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-nfs, linux-kernel, Benny Halevy

I've got one typo fix in for-3.2 branch at:

  git://linux-nfs.org/~bfields/linux.git for-3.2

Please pull--and thanks to Benny for catching it!

--b.

Benny Halevy (1):
      nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access

 fs/nfsd/nfs4xdr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fc0d14fe2d6403eb21202fd0c1cf67cd2c85ca67
Author: Benny Halevy <bhalevy@tonian.com>
Date:   Thu Oct 27 20:43:01 2011 +0200

    nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access
    
    Signed-off-by: Benny Halevy <bhalevy@tonian.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>

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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-02 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 22:32 nfsd typo fix for 3.2 J. Bruce Fields

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).