Whamcloud - gitweb
ChangeLog, badblocks.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jul 1998 05:44:43 +0000 (05:44 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jul 1998 05:44:43 +0000 (05:44 +0000)
  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.

e2fsck/ChangeLog
e2fsck/badblocks.c

index de11531..e7b6700 100644 (file)
@@ -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
index f3adc3c..bd7cafa 100644 (file)
@@ -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,