blob: d90b80f9b28c7c0402b71a8fa19b2cc8d9e5efd8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_ERRNO_H
2#define _LINUX_ERRNO_H
3
4#include <asm/errno.h>
5
6#ifdef __KERNEL__
7
8/* Should never be seen by user programs */
9#define ERESTARTSYS 512
10#define ERESTARTNOINTR 513
11#define ERESTARTNOHAND 514 /* restart if no handler.. */
12#define ENOIOCTLCMD 515 /* No ioctl command */
13#define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
14
15/* Defined for the NFSv3 protocol */
16#define EBADHANDLE 521 /* Illegal NFS file handle */
17#define ENOTSYNC 522 /* Update synchronization mismatch */
18#define EBADCOOKIE 523 /* Cookie is stale */
19#define ENOTSUPP 524 /* Operation is not supported */
20#define ETOOSMALL 525 /* Buffer or request is too small */
21#define ESERVERFAULT 526 /* An untranslatable error occurred */
22#define EBADTYPE 527 /* Type not supported by server */
23#define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */
24#define EIOCBQUEUED 529 /* iocb queued, will get completion event */
25#define EIOCBRETRY 530 /* iocb queued, will trigger a retry */
26
27#endif
28
29#endif