OpenAFS
OpenAFS distributed network file system
|
00001 #ifdef AFS_NT40_ENV 00002 #include <afs/errmap_nt.h> 00003 #endif 00004 00005 #ifndef EIO 00006 #error Cant deal with this case 00007 #endif /* EIO */ 00008 00009 /* Cases we know we should deal with */ 00010 #ifndef EDQUOT 00011 #define EDQUOT ENOSPC 00012 #endif /* EDQUOT */ 00013 00014 /* Map everything else to EIO */ 00015 #ifndef EPERM 00016 #define EPERM EIO 00017 #endif /* EPERM */ 00018 #ifndef ENOENT 00019 #define ENOENT EIO 00020 #endif /* ENOENT */ 00021 #ifndef ESRCH 00022 #define ESRCH EIO 00023 #endif /* ESRCH */ 00024 #ifndef EINTR 00025 #define EINTR EIO 00026 #endif /* EINTR */ 00027 #ifndef ENXIO 00028 #define ENXIO EIO 00029 #endif /* ENXIO */ 00030 #ifndef E2BIG 00031 #define E2BIG EIO 00032 #endif /* E2BIG */ 00033 #ifndef ENOEXEC 00034 #define ENOEXEC EIO 00035 #endif /* ENOEXEC */ 00036 #ifndef EBADF 00037 #define EBADF EIO 00038 #endif /* EBADF */ 00039 #ifndef ECHILD 00040 #define ECHILD EIO 00041 #endif /* ECHILD */ 00042 #ifndef EAGAIN 00043 #define EAGAIN EIO 00044 #endif /* EAGAIN */ 00045 #ifndef ENOMEM 00046 #define ENOMEM EIO 00047 #endif /* ENOMEM */ 00048 #ifndef EACCES 00049 #define EACCES EIO 00050 #endif /* EACCES */ 00051 #ifndef EFAULT 00052 #define EFAULT EIO 00053 #endif /* EFAULT */ 00054 #ifndef ENOTBLK 00055 #define ENOTBLK EIO 00056 #endif /* ENOTBLK */ 00057 #ifndef EBUSY 00058 #define EBUSY EIO 00059 #endif /* EBUSY */ 00060 #ifndef EEXIST 00061 #define EEXIST EIO 00062 #endif /* EEXIST */ 00063 #ifndef EXDEV 00064 #define EXDEV EIO 00065 #endif /* EXDEV */ 00066 #ifndef ENODEV 00067 #define ENODEV EIO 00068 #endif /* ENODEV */ 00069 #ifndef ENOTDIR 00070 #define ENOTDIR EIO 00071 #endif /* ENOTDIR */ 00072 #ifndef EISDIR 00073 #define EISDIR EIO 00074 #endif /* EISDIR */ 00075 #ifndef EINVAL 00076 #define EINVAL EIO 00077 #endif /* EINVAL */ 00078 #ifndef ENFILE 00079 #define ENFILE EIO 00080 #endif /* ENFILE */ 00081 #ifndef EMFILE 00082 #define EMFILE EIO 00083 #endif /* EMFILE */ 00084 #ifndef ENOTTY 00085 #define ENOTTY EIO 00086 #endif /* ENOTTY */ 00087 #ifndef ETXTBSY 00088 #define ETXTBSY EIO 00089 #endif /* ETXTBSY */ 00090 #ifndef EFBIG 00091 #define EFBIG EIO 00092 #endif /* EFBIG */ 00093 #ifndef ENOSPC 00094 #define ENOSPC EIO 00095 #endif /* ENOSPC */ 00096 #ifndef ESPIPE 00097 #define ESPIPE EIO 00098 #endif /* ESPIPE */ 00099 #ifndef EROFS 00100 #define EROFS EIO 00101 #endif /* EROFS */ 00102 #ifndef EMLINK 00103 #define EMLINK EIO 00104 #endif /* EMLINK */ 00105 #ifndef EPIPE 00106 #define EPIPE EIO 00107 #endif /* EPIPE */ 00108 #ifndef EDOM 00109 #define EDOM EIO 00110 #endif /* EDOM */ 00111 #ifndef ERANGE 00112 #define ERANGE EIO 00113 #endif /* ERANGE */ 00114 #ifndef EDEADLK 00115 #define EDEADLK EIO 00116 #endif /* EDEADLK */ 00117 #ifndef ENAMETOOLONG 00118 #define ENAMETOOLONG EIO 00119 #endif /* ENAMETOOLONG */ 00120 #ifndef ENOLCK 00121 #define ENOLCK EIO 00122 #endif /* ENOLCK */ 00123 #ifndef ENOSYS 00124 #define ENOSYS EIO 00125 #endif /* ENOSYS */ 00126 #ifndef ENOTEMPTY 00127 #define ENOTEMPTY EIO 00128 #endif /* ENOTEMPTY */ 00129 #ifndef ELOOP 00130 #define ELOOP EIO 00131 #endif /* ELOOP */ 00132 #ifndef EWOULDBLOCK 00133 #define EWOULDBLOCK EIO 00134 #endif /* EWOULDBLOCK */ 00135 #ifndef ENOMSG 00136 #define ENOMSG EIO 00137 #endif /* ENOMSG */ 00138 #ifndef EIDRM 00139 #define EIDRM EIO 00140 #endif /* EIDRM */ 00141 #ifndef ECHRNG 00142 #define ECHRNG EIO 00143 #endif /* ECHRNG */ 00144 #ifndef EL2NSYNC 00145 #define EL2NSYNC EIO 00146 #endif /* EL2NSYNC */ 00147 #ifndef EL3HLT 00148 #define EL3HLT EIO 00149 #endif /* EL3HLT */ 00150 #ifndef EL3RST 00151 #define EL3RST EIO 00152 #endif /* EL3RST */ 00153 #ifndef ELNRNG 00154 #define ELNRNG EIO 00155 #endif /* ELNRNG */ 00156 #ifndef EUNATCH 00157 #define EUNATCH EIO 00158 #endif /* EUNATCH */ 00159 #ifndef ENOCSI 00160 #define ENOCSI EIO 00161 #endif /* ENOCSI */ 00162 #ifndef EL2HLT 00163 #define EL2HLT EIO 00164 #endif /* EL2HLT */ 00165 #ifndef EBADE 00166 #define EBADE EIO 00167 #endif /* EBADE */ 00168 #ifndef EBADR 00169 #define EBADR EIO 00170 #endif /* EBADR */ 00171 #ifndef EXFULL 00172 #define EXFULL EIO 00173 #endif /* EXFULL */ 00174 #ifndef ENOANO 00175 #define ENOANO EIO 00176 #endif /* ENOANO */ 00177 #ifndef EBADRQC 00178 #define EBADRQC EIO 00179 #endif /* EBADRQC */ 00180 #ifndef EBADSLT 00181 #define EBADSLT EIO 00182 #endif /* EBADSLT */ 00183 #ifndef EBFONT 00184 #define EBFONT EIO 00185 #endif /* EBFONT */ 00186 #ifndef ENOSTR 00187 #define ENOSTR EIO 00188 #endif /* ENOSTR */ 00189 #ifndef ENODATA 00190 #define ENODATA EIO 00191 #endif /* ENODATA */ 00192 #ifndef ETIME 00193 #define ETIME EIO 00194 #endif /* ETIME */ 00195 #ifndef ENOSR 00196 #define ENOSR EIO 00197 #endif /* ENOSR */ 00198 #ifndef ENONET 00199 #define ENONET EIO 00200 #endif /* ENONET */ 00201 #ifndef ENOPKG 00202 #define ENOPKG EIO 00203 #endif /* ENOPKG */ 00204 #ifndef EREMOTE 00205 #define EREMOTE EIO 00206 #endif /* EREMOTE */ 00207 #ifndef ENOLINK 00208 #define ENOLINK EIO 00209 #endif /* ENOLINK */ 00210 #ifndef EADV 00211 #define EADV EIO 00212 #endif /* EADV */ 00213 #ifndef ESRMNT 00214 #define ESRMNT EIO 00215 #endif /* ESRMNT */ 00216 #ifndef ECOMM 00217 #define ECOMM EIO 00218 #endif /* ECOMM */ 00219 #ifndef EPROTO 00220 #define EPROTO EIO 00221 #endif /* EPROTO */ 00222 #ifndef EMULTIHOP 00223 #define EMULTIHOP EIO 00224 #endif /* EMULTIHOP */ 00225 #ifndef EDOTDOT 00226 #define EDOTDOT EIO 00227 #endif /* EDOTDOT */ 00228 #ifndef EBADMSG 00229 #define EBADMSG EIO 00230 #endif /* EBADMSG */ 00231 #ifndef EOVERFLOW 00232 #define EOVERFLOW EIO 00233 #endif /* EOVERFLOW */ 00234 #ifndef ENOTUNIQ 00235 #define ENOTUNIQ EIO 00236 #endif /* ENOTUNIQ */ 00237 #ifndef EBADFD 00238 #define EBADFD EIO 00239 #endif /* EBADFD */ 00240 #ifndef EREMCHG 00241 #define EREMCHG EIO 00242 #endif /* EREMCHG */ 00243 #ifndef ELIBACC 00244 #define ELIBACC EIO 00245 #endif /* ELIBACC */ 00246 #ifndef ELIBBAD 00247 #define ELIBBAD EIO 00248 #endif /* ELIBBAD */ 00249 #ifndef ELIBSCN 00250 #define ELIBSCN EIO 00251 #endif /* ELIBSCN */ 00252 #ifndef ELIBMAX 00253 #define ELIBMAX EIO 00254 #endif /* ELIBMAX */ 00255 #ifndef ELIBEXEC 00256 #define ELIBEXEC EIO 00257 #endif /* ELIBEXEC */ 00258 #ifndef EILSEQ 00259 #define EILSEQ EIO 00260 #endif /* EILSEQ */ 00261 #ifndef ERESTART 00262 #define ERESTART EIO 00263 #endif /* ERESTART */ 00264 #ifndef ESTRPIPE 00265 #define ESTRPIPE EIO 00266 #endif /* ESTRPIPE */ 00267 #ifndef EUSERS 00268 #define EUSERS EIO 00269 #endif /* EUSERS */ 00270 #ifndef ENOTSOCK 00271 #define ENOTSOCK EIO 00272 #endif /* ENOTSOCK */ 00273 #ifndef EDESTADDRREQ 00274 #define EDESTADDRREQ EIO 00275 #endif /* EDESTADDRREQ */ 00276 #ifndef EMSGSIZE 00277 #define EMSGSIZE EIO 00278 #endif /* EMSGSIZE */ 00279 #ifndef EPROTOTYPE 00280 #define EPROTOTYPE EIO 00281 #endif /* EPROTOTYPE */ 00282 #ifndef ENOPROTOOPT 00283 #define ENOPROTOOPT EIO 00284 #endif /* ENOPROTOOPT */ 00285 #ifndef EPROTONOSUPPORT 00286 #define EPROTONOSUPPORT EIO 00287 #endif /* EPROTONOSUPPORT */ 00288 #ifndef ESOCKTNOSUPPORT 00289 #define ESOCKTNOSUPPORT EIO 00290 #endif /* ESOCKTNOSUPPORT */ 00291 #ifndef EOPNOTSUPP 00292 #define EOPNOTSUPP EIO 00293 #endif /* EOPNOTSUPP */ 00294 #ifndef EPFNOSUPPORT 00295 #define EPFNOSUPPORT EIO 00296 #endif /* EPFNOSUPPORT */ 00297 #ifndef EAFNOSUPPORT 00298 #define EAFNOSUPPORT EIO 00299 #endif /* EAFNOSUPPORT */ 00300 #ifndef EADDRINUSE 00301 #define EADDRINUSE EIO 00302 #endif /* EADDRINUSE */ 00303 #ifndef EADDRNOTAVAIL 00304 #define EADDRNOTAVAIL EIO 00305 #endif /* EADDRNOTAVAIL */ 00306 #ifndef ENETDOWN 00307 #define ENETDOWN EIO 00308 #endif /* ENETDOWN */ 00309 #ifndef ENETUNREACH 00310 #define ENETUNREACH EIO 00311 #endif /* ENETUNREACH */ 00312 #ifndef ENETRESET 00313 #define ENETRESET EIO 00314 #endif /* ENETRESET */ 00315 #ifndef ECONNABORTED 00316 #define ECONNABORTED EIO 00317 #endif /* ECONNABORTED */ 00318 #ifndef ECONNRESET 00319 #define ECONNRESET EIO 00320 #endif /* ECONNRESET */ 00321 #ifndef ENOBUFS 00322 #define ENOBUFS EIO 00323 #endif /* ENOBUFS */ 00324 #ifndef EISCONN 00325 #define EISCONN EIO 00326 #endif /* EISCONN */ 00327 #ifndef ENOTCONN 00328 #define ENOTCONN EIO 00329 #endif /* ENOTCONN */ 00330 #ifndef ESHUTDOWN 00331 #define ESHUTDOWN EIO 00332 #endif /* ESHUTDOWN */ 00333 #ifndef ETOOMANYREFS 00334 #define ETOOMANYREFS EIO 00335 #endif /* ETOOMANYREFS */ 00336 #ifndef ETIMEDOUT 00337 #define ETIMEDOUT EIO 00338 #endif /* ETIMEDOUT */ 00339 #ifndef ECONNREFUSED 00340 #define ECONNREFUSED EIO 00341 #endif /* ECONNREFUSED */ 00342 #ifndef EHOSTDOWN 00343 #define EHOSTDOWN EIO 00344 #endif /* EHOSTDOWN */ 00345 #ifndef EHOSTUNREACH 00346 #define EHOSTUNREACH EIO 00347 #endif /* EHOSTUNREACH */ 00348 #ifndef EALREADY 00349 #define EALREADY EIO 00350 #endif /* EALREADY */ 00351 #ifndef EINPROGRESS 00352 #define EINPROGRESS EIO 00353 #endif /* EINPROGRESS */ 00354 #ifndef ESTALE 00355 #define ESTALE EIO 00356 #endif /* ESTALE */ 00357 #ifndef EUCLEAN 00358 #define EUCLEAN EIO 00359 #endif /* EUCLEAN */ 00360 #ifndef ENOTNAM 00361 #define ENOTNAM EIO 00362 #endif /* ENOTNAM */ 00363 #ifndef ENAVAIL 00364 #define ENAVAIL EIO 00365 #endif /* ENAVAIL */ 00366 #ifndef EISNAM 00367 #define EISNAM EIO 00368 #endif /* EISNAM */ 00369 #ifndef EREMOTEIO 00370 #define EREMOTEIO EIO 00371 #endif /* EREMOTEIO */ 00372 #ifndef ENOMEDIUM 00373 #define ENOMEDIUM EIO 00374 #endif /* ENOMEDIUM */ 00375 #ifndef EMEDIUMTYPE 00376 #define EMEDIUMTYPE EIO 00377 #endif /* EMEDIUMTYPE */