diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-12-08 22:58:29 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-12-22 01:23:59 -0500 |
commit | d5a74ff10be2afe155f8b7c1397c75f4275ebeba (patch) | |
tree | 86e5a880c08617af81765fdff43f3910da900b17 /e2fsck/pass1.c | |
parent | 100d4701d5338807a99565aa528970da644e0953 (diff) | |
download | e2fsprogs-d5a74ff10be2afe155f8b7c1397c75f4275ebeba.tar.gz |
e2fsck: Fix double-counting of non-contiguous extent-based inodes
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/pass1.c')
-rw-r--r-- | e2fsck/pass1.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 094f5236..26192725 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -1781,13 +1781,6 @@ static void check_blocks_extents(e2fsck_t ctx, struct problem_context *pctx, scan_extent_node(ctx, pctx, pb, 0, ehandle); - if (pb->fragmented && pb->num_blocks < fs->super->s_blocks_per_group) { - if (LINUX_S_ISDIR(inode->i_mode)) - ctx->fs_fragmented_dir++; - else - ctx->fs_fragmented++; - } - ext2fs_extent_free(ehandle); } |