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

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

Post by Kendrick M. Smit » Fri, 16 Aug 2002 06:00:08



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/

 
 
 

1. patch 22/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       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/

2. Weird problems under Redhat 5.2

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

4. If you still need proof Linux is growing on the desktop...

5. REPOST patch 01/38: new error codes

6. Limit Users To Those With FQDNs ???

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

8. inkjet printers

9. patch 21/38: CLIENT: giant patch importing NFSv4 client functionality

10. REPOST patch 38/38: switches in fs/Config.in, fs/Config.help

11. REPOST patch 28/38: SERVER: allow resfh==fhp in fh_compose()

12. REPOST patch 31/38: SERVER: tweak nfsd_create_v3() for NFSv4

13. REPOST patch 29/38: SERVER: overflow check in nfsd_commit()