From 9bab3284e30752bccc36be3e07b9ca4dfd218041 Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Mon, 21 Sep 2020 19:02:33 +0800 Subject: [PATCH] e2fsck: rbtree bitmap for dir Only rbtree support merge operation now, use it for bitmaps. Signed-off-by: Wang Shilong Reviewed-by: Andreas Dilger Signed-off-by: Theodore Ts'o --- e2fsck/pass1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index a1ea487a9..d3f8e737e 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -1235,6 +1235,7 @@ void e2fsck_pass1_run(e2fsck_t ctx) } pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("directory inode map"), + ctx->global_ctx ? EXT2FS_BMAP64_RBTREE : EXT2FS_BMAP64_AUTODIR, "inode_dir_map", &ctx->inode_dir_map); if (pctx.errcode) { -- 2.47.2