projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-2.6.34' of git://linux-nfs.org/~bfields/linux
[linux-2.6-block.git]
/
fs
/
nfsd
/
nfs4xdr.c
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index bbf72d8f9fc0a36bf10ef7a2c509e9f3239ea06e..78c7e24e5129b595670dfc13d362af692ae5359f 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 < ops->nops
)
+ 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;