Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

nfsd4: typo logical vs bitwise negate for want_mask

parent c668fc6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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) {