diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-05-11 15:12:52 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-11 15:28:10 -0400 |
commit | 0433c1f1b72bb85d9ea11e7716a415a878a655c8 (patch) | |
tree | 125cd64b19ea17f440880f92fa632ae1a50d5e85 /.missing-copyright | |
parent | d531450cdd9c9c356cce5bdb3634bccff31156f7 (diff) | |
download | e2fsprogs-0433c1f1b72bb85d9ea11e7716a415a878a655c8.tar.gz |
e2fsck: Don't clear inodes if we found inodes that are in the unused region
Commit 6267ee4 avoided repeating pass #1 over and over again if
multiple block groups are found with inodes in the bg_itable_unused
region during pass #2. This caused a regression because the problem
with not restarting pass #1 right away is that e2fsck will offer to
clear directory entries for inodes that are deleted, and e2fsck can't
easily distinguish between deleted inodes and inodes that were skipped
because of an incorrect bg_itable_unused value. So once an inode is
found in an unused region and we know that we're going to restart the
e2fsck pass, don't offer to clear any deleted inodes --- since those
will be caught in the second round.
Addresses-Google-Bug: #2642165
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to '.missing-copyright')
0 files changed, 0 insertions, 0 deletions