diff options
author | Benny Halevy <bhalevy@tonian.com> | 2011-10-20 04:13:29 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-10-24 10:24:29 +0200 |
commit | 92bac8c5d60623167c6802b1f125e6d623708185 (patch) | |
tree | 63d91f06ad66ea362e588dbf29aed6ba075fa992 /fs/nfsd | |
parent | nfsd4: allow NFS4_SHARE_SIGNAL_DELEG_WHEN_RESRC_AVAIL | NFS4_SHARE_PUSH_DELEG... (diff) | |
download | linux-92bac8c5d60623167c6802b1f125e6d623708185.tar.xz linux-92bac8c5d60623167c6802b1f125e6d623708185.zip |
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 706ada1956c1..decea140b323 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -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) { |