Konstantin Belousov 364e72457f For incompleted block allocations or frees, the inode block count usage
must be recalculated. The blk_check pass of suj checker explicitely marks
inodes which owned such blocks as needing block count adjustment. But
ino_adjblks() is only called by cg_trunc pass, which is performed before
blk_check. As result, the block use count for such inodes is left wrong.
This causes full fsck run after journaled run to still find inconsistencies
like 'INCORRECT BLOCK COUNT I=14557 (328 should be 0)' in phase 1.

Fix this issue by running additional adj_blk pass after blk_check, which
updates the field.

Reviewed by:	jeff, mckusick
MFC after:	1 week
2012-06-12 21:37:27 +00:00
..
2011-09-02 17:05:34 +00:00
2011-04-27 02:55:03 +00:00
2012-01-07 16:09:33 +00:00
2012-01-07 16:09:33 +00:00
2011-04-27 02:55:03 +00:00
2011-09-03 03:12:33 +00:00
2011-04-27 02:55:03 +00:00