diff options
author | Theodore Ts'o <tytso@mit.edu> | 1998-07-07 05:44:43 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1998-07-07 05:44:43 +0000 |
commit | 1fad9048b51f66df8813022f33a48fbf7a0a26b7 (patch) | |
tree | f920ec28da2b9a387d2a27b5398fab55062dbe81 | |
parent | bcdf9e6b11095b2bba4559dcc527e3a443fbfb26 (diff) | |
download | android_external_e2fsprogs-1fad9048b51f66df8813022f33a48fbf7a0a26b7.tar.gz android_external_e2fsprogs-1fad9048b51f66df8813022f33a48fbf7a0a26b7.tar.bz2 android_external_e2fsprogs-1fad9048b51f66df8813022f33a48fbf7a0a26b7.zip |
ChangeLog, badblocks.c:
badblocks.c (test_disk): Don't clear the existing bad blocks list when
using e2fsck -c, since it may cause blocks with marginal errors to be
dropped from the bad blocks list.
-rw-r--r-- | e2fsck/ChangeLog | 6 | ||||
-rw-r--r-- | e2fsck/badblocks.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index de115310..e7b6700b 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,9 @@ +1998-07-07 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * badblocks.c (test_disk): Don't clear the existing bad blocks + list when using e2fsck -c, since it may cause blocks with + marginal errors to be dropped from the bad blocks list. + Mon Jul 6 10:32:11 1998 Theodre Ts'o <tytso@lurch.mit.edu> * pass1.c (e2fsck_pass1): Use ext2fs_sb structure for diff --git a/e2fsck/badblocks.c b/e2fsck/badblocks.c index f3adc3c1..bd7cafa2 100644 --- a/e2fsck/badblocks.c +++ b/e2fsck/badblocks.c @@ -114,7 +114,7 @@ fatal: void test_disk(e2fsck_t ctx) { - read_bad_blocks_file(ctx, 0, 1); + read_bad_blocks_file(ctx, 0, 0); } static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, |