From: Benny Halevy Date: Thu, 27 Oct 2011 18:43:01 +0000 (+0200) Subject: nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=fc0d14fe2d6403eb21202fd0c1cf67cd2c85ca67;p=linux-edison.git nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access Signed-off-by: Benny Halevy Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 66d095d7955..b6fa792d6b8 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)