|
|
| File: [Development] / xfs-linux-nodel / xfs_error.h (download)
Revision 1.2, Tue Apr 26 00:38:25 1994 UTC (23 years, 6 months ago) by doucette
Add lines from xfs_log.h, consolidating error codes here. Add XFS_ERROR macro and its supporting stuff. |
#ifndef _XFS_ERROR_H #define _XFS_ERROR_H #define XFS_ERECOVER 1 /* Failure to recover log */ #define XFS_ELOGSTAT 2 /* Failure to stat log in user space */ #define XFS_ENOLOGSPACE 3 /* Reservation too large */ #define XFS_ENOTSUP 4 /* Operation not supported */ #define XFS_ENOLSN 5 /* Can't find the lsn you asked for */ #define XFS_ENOTFOUND 6 #ifdef DEBUG #define XFS_ERROR_NTRAP 10 extern int xfs_etrap[XFS_ERROR_NTRAP]; extern int xfs_error_trap(int); #define XFS_ERROR(e) xfs_error_trap(e) #else #define XFS_ERROR(e) (e) #endif #endif /* _XFS_ERROR_H */