]> Git Repo - linux.git/commitdiff
nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access
authorBenny Halevy <[email protected]>
Thu, 27 Oct 2011 18:43:01 +0000 (20:43 +0200)
committerJ. Bruce Fields <[email protected]>
Tue, 1 Nov 2011 22:06:43 +0000 (18:06 -0400)
Signed-off-by: Benny Halevy <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
fs/nfsd/nfs4xdr.c

index 66d095d7955ec0a3bea156370fee9e2955afd022..b6fa792d6b858b5950c483092e7c05ca8c583446 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)
This page took 0.064713 seconds and 4 git commands to generate.