aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r--fs/xfs/xfs_log_priv.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h
index db0d53ffe458..752f964b3699 100644
--- a/fs/xfs/xfs_log_priv.h
+++ b/fs/xfs/xfs_log_priv.h
@@ -249,22 +249,6 @@ typedef __uint32_t xlog_tid_t;
249 249
250/* Ticket reservation region accounting */ 250/* Ticket reservation region accounting */
251#define XLOG_TIC_LEN_MAX 15 251#define XLOG_TIC_LEN_MAX 15
252#define XLOG_TIC_RESET_RES(t) ((t)->t_res_num = \
253 (t)->t_res_arr_sum = (t)->t_res_num_ophdrs = 0)
254#define XLOG_TIC_ADD_OPHDR(t) ((t)->t_res_num_ophdrs++)
255#define XLOG_TIC_ADD_REGION(t, len, type) \
256 do { \
257 if ((t)->t_res_num == XLOG_TIC_LEN_MAX) { \
258 /* add to overflow and start again */ \
259 (t)->t_res_o_flow += (t)->t_res_arr_sum; \
260 (t)->t_res_num = 0; \
261 (t)->t_res_arr_sum = 0; \
262 } \
263 (t)->t_res_arr[(t)->t_res_num].r_len = (len); \
264 (t)->t_res_arr[(t)->t_res_num].r_type = (type); \
265 (t)->t_res_arr_sum += (len); \
266 (t)->t_res_num++; \
267 } while (0)
268 252
269/* 253/*
270 * Reservation region 254 * Reservation region