diff options
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index f40d4391fcf..4b2ac88dbb8 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h | |||
@@ -96,7 +96,6 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) | |||
96 | 96 | ||
97 | 97 | ||
98 | /* Region types for iovec's i_type */ | 98 | /* Region types for iovec's i_type */ |
99 | #if defined(XFS_LOG_RES_DEBUG) | ||
100 | #define XLOG_REG_TYPE_BFORMAT 1 | 99 | #define XLOG_REG_TYPE_BFORMAT 1 |
101 | #define XLOG_REG_TYPE_BCHUNK 2 | 100 | #define XLOG_REG_TYPE_BCHUNK 2 |
102 | #define XLOG_REG_TYPE_EFI_FORMAT 3 | 101 | #define XLOG_REG_TYPE_EFI_FORMAT 3 |
@@ -117,21 +116,13 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) | |||
117 | #define XLOG_REG_TYPE_COMMIT 18 | 116 | #define XLOG_REG_TYPE_COMMIT 18 |
118 | #define XLOG_REG_TYPE_TRANSHDR 19 | 117 | #define XLOG_REG_TYPE_TRANSHDR 19 |
119 | #define XLOG_REG_TYPE_MAX 19 | 118 | #define XLOG_REG_TYPE_MAX 19 |
120 | #endif | ||
121 | 119 | ||
122 | #if defined(XFS_LOG_RES_DEBUG) | ||
123 | #define XLOG_VEC_SET_TYPE(vecp, t) ((vecp)->i_type = (t)) | 120 | #define XLOG_VEC_SET_TYPE(vecp, t) ((vecp)->i_type = (t)) |
124 | #else | ||
125 | #define XLOG_VEC_SET_TYPE(vecp, t) | ||
126 | #endif | ||
127 | |||
128 | 121 | ||
129 | typedef struct xfs_log_iovec { | 122 | typedef struct xfs_log_iovec { |
130 | xfs_caddr_t i_addr; /* beginning address of region */ | 123 | xfs_caddr_t i_addr; /* beginning address of region */ |
131 | int i_len; /* length in bytes of region */ | 124 | int i_len; /* length in bytes of region */ |
132 | #if defined(XFS_LOG_RES_DEBUG) | 125 | uint i_type; /* type of region */ |
133 | uint i_type; /* type of region */ | ||
134 | #endif | ||
135 | } xfs_log_iovec_t; | 126 | } xfs_log_iovec_t; |
136 | 127 | ||
137 | typedef void* xfs_log_ticket_t; | 128 | typedef void* xfs_log_ticket_t; |