Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[pandora-kernel.git] / fs / nfsd / nfs4xdr.c
index 66d095d..b6fa792 100644 (file)
@@ -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)