Re: [PATCH] btrfs-progs: Don't increase error count if the inode can be repaired.

2014-12-21 Thread Satoru Takeuchi
On 2014/12/22 11:53, Qu Wenruo wrote: > The original check_inode_recs() will return -1 if found any error in a > inode_record. This is OK for original design since there is almost > nothing can repair at that time. > > However more and more error from nlink mismatch to missing inode item > can be

[PATCH] btrfs-progs: Don't increase error count if the inode can be repaired.

2014-12-21 Thread Qu Wenruo
The original check_inode_recs() will return -1 if found any error in a inode_record. This is OK for original design since there is almost nothing can repair at that time. However more and more error from nlink mismatch to missing inode item can be repaired in try_repair_inode(), check_inode_recs()