mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-08-18 02:22:47 -07:00
nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access
Signed-off-by: Benny Halevy <bhalevy@tonian.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
1 parent
345c284290
commit
fc0d14fe2d
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user