From 7dc099887c3f922834e88dc55907dc0fa385b346 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 22 Feb 2008 15:53:50 -0500 Subject: [PATCH] e2fsck: Account for index nodes in the extent tree for i_blocks 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 ef7e0bf..e214361 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -1584,6 +1584,7 @@ static void scan_extent_node(e2fsck_t ctx, struct problem_context *pctx, if (!is_leaf) { mark_block_used(ctx, extent.e_pblk); + pb->num_blocks++; pctx->errcode = ext2fs_extent_get(ehandle, EXT2_EXTENT_DOWN, &extent); if (pctx->errcode) { -- 1.8.3.1