commit | 39791dc0bda8c5a995e307e6306b79cd0fded644 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Feb 20 15:19:47 2011 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Feb 20 15:19:47 2011 -0500 |
tree | c5e2e514231183763982f69a1622a69a4c7f66eb | |
parent | 468d82f430dfdf270b738e14345b879560c2cd9e [diff] |
badblocks: Fix up recover_block handling in badblocks If there was a bad block for block #0, badblocks would never switch back testing blocks more efficiently. In addition, we were double-incrementing the blocks to be tested in the read/write test due to failure to remove code. Thanks to Ragnar Kjørstad for pointing these problems out. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>