From afe9b7a8539a838af9916fb1790b100b2491cf09 Mon Sep 17 00:00:00 2001 From: Mark Nordstrand Date: Thu, 29 Mar 2001 22:14:58 +0000 Subject: [PATCH] Syncing with xfs_linux.h --- libxfs/xfs.h | 4 ++-- logprint/logprint.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libxfs/xfs.h b/libxfs/xfs.h index 45f61d55b..cbf07f3c9 100644 --- a/libxfs/xfs.h +++ b/libxfs/xfs.h @@ -231,8 +231,8 @@ typedef enum { B_FALSE, B_TRUE } boolean_t; typedef struct { dev_t dev; } buftarg_t; #define STATIC #define ATTR_ROOT 1 /* use attrs in root namespace */ -#define ENOATTR 1009 /* Attribute not found */ -#define EFSCORRUPTED 1010 /* Filesystem is corrupted */ +#define ENOATTR ENODATA /* Attribute not found */ +#define EFSCORRUPTED 990 /* Filesystem is corrupted */ #define ktrace_t void #define m_ddev_targp m_dev #define KERN_WARNING diff --git a/logprint/logprint.h b/logprint/logprint.h index 17eb3ba46..307747f7d 100644 --- a/logprint/logprint.h +++ b/logprint/logprint.h @@ -74,7 +74,7 @@ typedef struct log { * macros mapping kernel code to user code */ #define STATIC static -#define EFSCORRUPTED EIO +#define EFSCORRUPTED 990 #define XFS_ERROR(e) (e) #define xlog_warn(fmt,args...) \ -- 2.47.3