From 92bac8c5d60623167c6802b1f125e6d623708185 Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Wed, 19 Oct 2011 19:13:29 -0700 Subject: [PATCH] nfsd4: typo logical vs bitwise negate for want_mask Signed-off-by: Benny Halevy Signed-off-by: J. Bruce Fields --- fs/nfsd/nfs4xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 706ada1956c..decea140b32 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -671,7 +671,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x) default: return nfserr_bad_xdr; } - w &= !NFS4_SHARE_WANT_MASK; + w &= ~NFS4_SHARE_WANT_MASK; if (!w) return nfs_ok; switch (w) { -- 2.11.4.GIT