aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@tonian.com>2011-10-19 22:13:29 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-10-24 04:24:29 -0400
commit92bac8c5d60623167c6802b1f125e6d623708185 (patch)
tree63d91f06ad66ea362e588dbf29aed6ba075fa992
parentc668fc6dfcce98f8222ce1c997f4e5c4ac63f3d0 (diff)
nfsd4: typo logical vs bitwise negate for want_mask
Signed-off-by: Benny Halevy <bhalevy@tonian.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 706ada1956c1..decea140b323 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)
671 default: 671 default:
672 return nfserr_bad_xdr; 672 return nfserr_bad_xdr;
673 } 673 }
674 w &= !NFS4_SHARE_WANT_MASK; 674 w &= ~NFS4_SHARE_WANT_MASK;
675 if (!w) 675 if (!w)
676 return nfs_ok; 676 return nfs_ok;
677 switch (w) { 677 switch (w) {