aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_bmap_btree.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap_btree.h b/fs/xfs/xfs_bmap_btree.h
index 6478cfa0e539..9137ec7e5512 100644
--- a/fs/xfs/xfs_bmap_btree.h
+++ b/fs/xfs/xfs_bmap_btree.h
@@ -168,8 +168,10 @@ typedef struct xfs_bmbt_key
168 xfs_dfiloff_t br_startoff; /* starting file offset */ 168 xfs_dfiloff_t br_startoff; /* starting file offset */
169} xfs_bmbt_key_t, xfs_bmdr_key_t; 169} xfs_bmbt_key_t, xfs_bmdr_key_t;
170 170
171typedef xfs_dfsbno_t xfs_bmbt_ptr_t, xfs_bmdr_ptr_t; /* btree pointer type */ 171/* btree pointer type */
172 /* btree block header type */ 172typedef __be64 xfs_bmbt_ptr_t, xfs_bmdr_ptr_t;
173
174/* btree block header type */
173typedef struct xfs_btree_lblock xfs_bmbt_block_t; 175typedef struct xfs_btree_lblock xfs_bmbt_block_t;
174 176
175#define XFS_BUF_TO_BMBT_BLOCK(bp) ((xfs_bmbt_block_t *)XFS_BUF_PTR(bp)) 177#define XFS_BUF_TO_BMBT_BLOCK(bp) ((xfs_bmbt_block_t *)XFS_BUF_PTR(bp))