commit | fc0d14fe2d6403eb21202fd0c1cf67cd2c85ca67 | [log] [tgz] |
---|---|---|
author | Benny Halevy <bhalevy@tonian.com> | Thu Oct 27 20:43:01 2011 +0200 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Nov 01 18:06:43 2011 -0400 |
tree | e116eb2361e9c173724ce37df765cb4ea5f39ec4 | |
parent | 345c284290cabb5484df909303e73d6def8ec8ec [diff] [blame] |
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>
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 66d095d..b6fa792 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c
@@ -655,7 +655,7 @@ default: return nfserr_bad_xdr; } - w &= !NFS4_SHARE_ACCESS_MASK; + w &= ~NFS4_SHARE_ACCESS_MASK; if (!w) return nfs_ok; if (!argp->minorversion)