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
..
2012-06-05 18:07:20 +00:00
2012-06-01 06:56:35 +00:00
2012-01-07 16:09:33 +00:00
2011-12-26 16:47:45 +00:00
2011-11-06 20:39:35 +00:00
2011-11-09 21:01:50 +00:00
2012-06-11 20:27:52 +00:00
2012-06-05 18:19:52 +00:00
2012-05-12 15:08:22 +00:00
2012-05-10 02:07:00 +00:00
2012-05-12 19:59:37 +00:00
2012-01-28 13:41:34 +00:00
2012-06-09 10:43:33 +00:00
2012-05-17 11:50:12 +00:00
2012-02-07 14:06:30 +00:00
2012-03-25 09:21:09 +00:00
2012-01-13 06:56:59 +00:00
2012-06-03 07:45:42 +00:00