ChangeLog, pass5.c:
pass5.c (check_block_end): Fix fencepost condition where when clearing
the block padding we were missing the last position in the bitmap.
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index c93d12c..c4c103d 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,9 @@
+1999-03-19 <tytso@rsts-11.mit.edu>
+
+ * pass5.c (check_block_end): Fix fencepost condition where when
+ clearing the block padding we were missing the last position
+ in the bitmap.
+
1999-05-17 <tytso@rsts-11.mit.edu>
* unix.c (reserve_stdio_fds): Add safety check in case
diff --git a/e2fsck/pass5.c b/e2fsck/pass5.c
index 0dccb02..274052e 100644
--- a/e2fsck/pass5.c
+++ b/e2fsck/pass5.c
@@ -438,7 +438,7 @@
for (i = save_blocks_count + 1; i <= end; i++) {
if (!ext2fs_test_block_bitmap(fs->block_map, i)) {
if (fix_problem(ctx, PR_5_BLOCK_BMAP_PADDING, &pctx)) {
- for (i = save_blocks_count + 1; i < end; i++)
+ for (i = save_blocks_count + 1; i <= end; i++)
ext2fs_mark_block_bitmap(fs->block_map,
i);
ext2fs_mark_bb_dirty(fs);