projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c551866
)
nfsd4: Use FIRST_NFS4_OP in nfsd4_decode_compound()
author
Ricardo Labiaga
<Ricardo.Labiaga@netapp.com>
Sat, 12 Dec 2009 04:03:27 +0000
(20:03 -0800)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Wed, 13 Jan 2010 14:42:26 +0000
(09:42 -0500)
Since we're checking for LAST_NFS4_OP, use FIRST_NFS4_OP to be consistent.
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4xdr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index 4f14f0c0616f58ce96b468466bf83147d8b4994f..c458fb11c957d3d3b934b40db892670f6aec978c 100644
(file)
--- a/
fs/nfsd/nfs4xdr.c
+++ b/
fs/nfsd/nfs4xdr.c
@@
-1434,7
+1434,7
@@
nfsd4_decode_compound(struct nfsd4_compoundargs *argp)
}
op->opnum = ntohl(*argp->p++);
- if (op->opnum >=
OP_ACCESS
&& op->opnum <= LAST_NFS4_OP)
+ if (op->opnum >=
FIRST_NFS4_OP
&& op->opnum <= LAST_NFS4_OP)
op->status = ops->decoders[op->opnum](argp, &op->u);
else {
op->opnum = OP_ILLEGAL;
This page took
0.027027 seconds
and
5
git commands to generate.