patch 22/38: SERVER: error codes in include/linux/nfsd/nfsd.h

patch 22/38: SERVER: error codes in include/linux/nfsd/nfsd.h

Post by Kendrick M. Smit » Thu, 15 Aug 2002 08:40:07



Add some new NFSv4-only error codes to include/linux/nfsd/nfsd.h

--- old/include/linux/nfsd/nfsd.h       Wed Jul 24 16:03:27 2002

 #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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. REPOST patch 21/38: SERVER: error codes in include/linux/nfsd/nfsd.h

Add some new NFSv4-only error codes to include/linux/nfsd/nfsd.h

--- old/include/linux/nfsd/nfsd.h       Thu Aug  1 16:16:23 2002

 #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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. connecting linux to w95 box?

3. REPOST patch 22/38: SERVER: type checking in fh_verify()

4. How big is a tar file?

5. patch 38/38: SERVER: giant patch importing NFSv4 server functionality

6. I need to make a level 2 ethernet sniffer

7. nfsd: Problem with corrupt files and dying rpc.nfsd with Redhat Linux 5.1 + Solaris 2.5

8. The Tao Of Backup.

9. patch 02/38: new error codes

10. REPOST patch 37/38: SERVER: giant patch importing NFSv4 server functionality

11. REPOST patch 01/38: new error codes

12. NFSD - problems (nfsd version 2.0 and 2.2)

13. WINE + 1.1.[22-38] = segmentation fault