aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2015-08-24 13:10:18 +0000
committerChris Mason <[email protected]>2015-11-11 03:27:03 +0000
commit772d233f5dec86e38a96e58cc995e7b04ab4ec68 (patch)
tree05cd8e310d7d2abeb77faa1314d67fa188627f17 /drivers/fpga/fpga-mgr.c
parentbtrfs: scrub: setup all fields for sblock_to_check (diff)
downloadkernel-772d233f5dec86e38a96e58cc995e7b04ab4ec68.tar.gz
kernel-772d233f5dec86e38a96e58cc995e7b04ab4ec68.zip
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions