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

nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access

Signed-off-by: default avatarBenny Halevy <bhalevy@tonian.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 345c2842
...@@ -655,7 +655,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x) ...@@ -655,7 +655,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_ACCESS_MASK; w &= ~NFS4_SHARE_ACCESS_MASK;
if (!w) if (!w)
return nfs_ok; return nfs_ok;
if (!argp->minorversion) if (!argp->minorversion)
......
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