]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - db/type.c
xfs_db: dump refcount btree data
[thirdparty/xfsprogs-dev.git] / db / type.c
index 337243a22d5e64d1ab3464787c35dd37befd7bdb..10fa54ee9a9d1debc299bfa06228307844d25f96 100644 (file)
--- a/db/type.c
+++ b/db/type.c
@@ -61,6 +61,7 @@ static const typ_t    __typtab[] = {
        { TYP_BNOBT, "bnobt", handle_struct, bnobt_hfld, NULL, TYP_F_NO_CRC_OFF },
        { TYP_CNTBT, "cntbt", handle_struct, cntbt_hfld, NULL, TYP_F_NO_CRC_OFF },
        { TYP_RMAPBT, NULL },
+       { TYP_REFCBT, NULL },
        { TYP_DATA, "data", handle_block, NULL, NULL, TYP_F_NO_CRC_OFF },
        { TYP_DIR2, "dir2", handle_struct, dir2_hfld, NULL, TYP_F_NO_CRC_OFF },
        { TYP_DQBLK, "dqblk", handle_struct, dqblk_hfld, NULL, TYP_F_NO_CRC_OFF },
@@ -97,6 +98,8 @@ static const typ_t    __typtab_crc[] = {
                &xfs_allocbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
        { TYP_RMAPBT, "rmapbt", handle_struct, rmapbt_crc_hfld,
                &xfs_rmapbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
+       { TYP_REFCBT, "refcntbt", handle_struct, refcbt_crc_hfld,
+               &xfs_refcountbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
        { TYP_DATA, "data", handle_block, NULL, NULL, TYP_F_NO_CRC_OFF },
        { TYP_DIR2, "dir3", handle_struct, dir3_hfld,
                &xfs_dir3_db_buf_ops, TYP_F_NO_CRC_OFF },
@@ -139,6 +142,8 @@ static const typ_t  __typtab_spcrc[] = {
                &xfs_allocbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
        { TYP_RMAPBT, "rmapbt", handle_struct, rmapbt_crc_hfld,
                &xfs_rmapbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
+       { TYP_REFCBT, "refcntbt", handle_struct, refcbt_crc_hfld,
+               &xfs_refcountbt_buf_ops, XFS_BTREE_SBLOCK_CRC_OFF },
        { TYP_DATA, "data", handle_block, NULL, NULL, TYP_F_NO_CRC_OFF },
        { TYP_DIR2, "dir3", handle_struct, dir3_hfld,
                &xfs_dir3_db_buf_ops, TYP_F_NO_CRC_OFF },