Skip to content

Commit

Permalink
nfsd4: typo logical vs bitwise negate for want_mask
Browse files Browse the repository at this point in the history
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
Benny Halevy authored and J. Bruce Fields committed Oct 24, 2011
1 parent c668fc6 commit 92bac8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 92bac8c

Please sign in to comment.