commit | 772d233f5dec86e38a96e58cc995e7b04ab4ec68 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Mon Aug 24 21:10:18 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Nov 10 19:27:03 2015 -0800 |
tree | 05cd8e310d7d2abeb77faa1314d67fa188627f17 | |
parent | 4734b7ed79e1230602927a38bc4d04dbe9dd09c1 [diff] |
btrfs: Reset sblock->xxx_error stats before calling scrub_recheck_block_checksum We should reset sblock->xxx_error stats before calling scrub_recheck_block_checksum(). Current code run correctly because all sblock are allocated by k[cz]alloc(), and the error stats are not got changed. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>