summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-11-07 18:44:56 -0500
committerBrian Behlendorf <[email protected]>2018-11-07 15:44:56 -0800
commit20eb30d08e24c2240a5d66e2e62893e784f586af (patch)
tree1410f1d4aa7c8791f4f1992078a8bc3de4427db7 /cmd
parentfde25c0a87ea7e2d4438485cd55646a91b99c4b4 (diff)
Fix divide by zero during indirect split damage
This patch simply ensures that vdev_indirect_splits_damage() cannot hit a divide by zero exception if a split has no children with valid data. The normal reconstruction code path in vdev_indirect_reconstruct_io_done() already has this check. Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #8086
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions