Commit 92bac8c5 authored by Benny Halevy's avatar Benny Halevy Committed by J. Bruce Fields

nfsd4: typo logical vs bitwise negate for want_mask

Signed-off-by: default avatarBenny Halevy <bhalevy@tonian.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent c668fc6d
...@@ -671,7 +671,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x) ...@@ -671,7 +671,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x)
default: default:
return nfserr_bad_xdr; return nfserr_bad_xdr;
} }
w &= !NFS4_SHARE_WANT_MASK; w &= ~NFS4_SHARE_WANT_MASK;
if (!w) if (!w)
return nfs_ok; return nfs_ok;
switch (w) { switch (w) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment