From: Theodore Ts'o Date: Fri, 22 Feb 2008 20:53:50 +0000 (-0500) Subject: e2fsck: Account for index nodes in the extent tree for i_blocks X-Git-Tag: v1.41-WIP-0427~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dc099887c3f922834e88dc55907dc0fa385b346;p=thirdparty%2Fe2fsprogs.git e2fsck: Account for index nodes in the extent tree for i_blocks Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index ef7e0bf7c..e2143612b 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) {