forked from Minki/linux
nfsd4: typo logical vs bitwise negate for want_mask
Signed-off-by: Benny Halevy <bhalevy@tonian.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
c668fc6dfc
commit
92bac8c5d6
@ -671,7 +671,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x)
|
||||
default:
|
||||
return nfserr_bad_xdr;
|
||||
}
|
||||
w &= !NFS4_SHARE_WANT_MASK;
|
||||
w &= ~NFS4_SHARE_WANT_MASK;
|
||||
if (!w)
|
||||
return nfs_ok;
|
||||
switch (w) {
|
||||
|
Loading…
Reference in New Issue
Block a user