summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKendrick M. Smith <kmsmith@umich.edu>2002-08-22 21:36:41 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-08-22 21:36:41 -0700
commit6fc2f6e74fcd309b2cfa7b5b5561ba48f4fbbc21 (patch)
tree66f6d548f8901a1384d85235a6c007d3fa5e682f /include/linux
parentfc1aac14dd596bac41aa60360b92f52ae130bd82 (diff)
[PATCH] kNFSd: NFSv4: error codes in include/linux/nfsd/nfsd.h
Add some new NFSv4-only error codes to include/linux/nfsd/nfsd.h
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfsd/nfsd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h
index 53d035c7479a..9c267886c3fc 100644
--- a/include/linux/nfsd/nfsd.h
+++ b/include/linux/nfsd/nfsd.h
@@ -170,6 +170,16 @@ void nfsd_lockd_unexport(struct svc_client *);
#define nfserr_serverfault __constant_htonl(NFSERR_SERVERFAULT)
#define nfserr_badtype __constant_htonl(NFSERR_BADTYPE)
#define nfserr_jukebox __constant_htonl(NFSERR_JUKEBOX)
+#define nfserr_bad_cookie __constant_htonl(NFSERR_BAD_COOKIE)
+#define nfserr_same __constant_htonl(NFSERR_SAME)
+#define nfserr_clid_inuse __constant_htonl(NFSERR_CLID_INUSE)
+#define nfserr_resource __constant_htonl(NFSERR_RESOURCE)
+#define nfserr_nofilehandle __constant_htonl(NFSERR_NOFILEHANDLE)
+#define nfserr_minor_vers_mismatch __constant_htonl(NFSERR_MINOR_VERS_MISMATCH)
+#define nfserr_symlink __constant_htonl(NFSERR_SYMLINK)
+#define nfserr_not_same __constant_htonl(NFSERR_NOT_SAME)
+#define nfserr_readdir_nospc __constant_htonl(NFSERR_READDIR_NOSPC)
+#define nfserr_bad_xdr __constant_htonl(NFSERR_BAD_XDR)
/* error code for internal use - if a request fails due to
* kmalloc failure, it gets dropped. Client should resend eventually