summaryrefslogtreecommitdiff
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-26 06:49:43 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-26 06:49:43 -0800
commitc329950f090eeefc428b2a8cba55832f7c249236 (patch)
tree40d21707f6067ba65cb3de26a80aba2ef92ee094 /include/linux/nfsd
parentb0ac617ec5ca602fe558eac90756f1a2f2001453 (diff)
[PATCH] kNFSd: add OP_ILLEGAL, and fix processing of compounds with out of bounds op numbers.
From: NeilBrown <neilb@cse.unsw.edu.au> add OP_ILLEGAL, and fix processing of compounds with out of bounds op numbers.
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r--include/linux/nfsd/nfsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h
index 4b0442923715..6e6a66208308 100644
--- a/include/linux/nfsd/nfsd.h
+++ b/include/linux/nfsd/nfsd.h
@@ -195,6 +195,7 @@ void nfsd_lockd_shutdown(void);
#define nfserr_bad_xdr __constant_htonl(NFSERR_BAD_XDR)
#define nfserr_openmode __constant_htonl(NFSERR_OPENMODE)
#define nfserr_locks_held __constant_htonl(NFSERR_LOCKS_HELD)
+#define nfserr_op_illegal __constant_htonl(NFSERR_OP_ILLEGAL)
/* error codes for internal use */
/* if a request fails due to kmalloc failure, it gets dropped.