projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c668fc6
)
nfsd4: typo logical vs bitwise negate for want_mask
author
Benny Halevy
<bhalevy@tonian.com>
Thu, 20 Oct 2011 02:13:29 +0000
(19:13 -0700)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 24 Oct 2011 08:24:29 +0000
(
04:24
-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
706ada1
..
decea14
100644
(file)
--- 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) {