summaryrefslogtreecommitdiff
path: root/version.sh
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-12-22 10:53:36 +0800
committerDavid Sterba <dsterba@suse.cz>2015-01-09 19:09:47 +0100
commite960b3f0577390a1c05913f179a444367b036a48 (patch)
treef55d83d89531783595d3b76cff4ceeb4effde21c /version.sh
parent228a7b3e176dd39c61ab57a8259868dfd60cfd24 (diff)
btrfs-progs: Don't increase error count if the inode can be repaired.
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() should not increase the error count if the inode can be repair. With this patch, repair function for leaf-corruption will not return error if all corruption inode can be recovered. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'version.sh')
0 files changed, 0 insertions, 0 deletions