diff options
author | Olaf Faaland <[email protected]> | 2018-04-06 13:29:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-06 13:29:11 -0700 |
commit | 0ba106e75c6cda806cb5d2003b918e658f2ff86c (patch) | |
tree | 642c406fb7d2786387959fa9c0eb5ce49b8abad7 /include | |
parent | 1bf9a552bb52785d5d838108574443e35682c85c (diff) |
Fix divide-by-zero in mmp_delay_update()
vdev_count_leaves() in the denominator may return 0, caught by Coverity.
Introduced by
* 533ea04 Update mmp_delay on sync or skipped, failed write
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Olaf Faaland <[email protected]>
Closes #7391
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions