projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345c284
)
nfsd4: typo logical vs bitwise negate in nfsd4_decode_share_access
author
Benny Halevy
<bhalevy@tonian.com>
Thu, 27 Oct 2011 18:43:01 +0000
(20:43 +0200)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 1 Nov 2011 22:06:43 +0000
(18:06 -0400)
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index
66d095d
..
b6fa792
100644
(file)
--- a/
fs/nfsd/nfs4xdr.c
+++ b/
fs/nfsd/nfs4xdr.c
@@
-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)