Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #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 |