diff options
author | Don Brady <[email protected]> | 2017-02-07 10:29:47 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-07 09:29:47 -0800 |
commit | cd5083c00c6215f4f15c04e30feeb5f9457ec896 (patch) | |
tree | 8c4065e367132cf5785ebce237ce1bb6d62afebb /include/sys/space_map.h | |
parent | 582cc0141699991da38ba8bfc8eb938ecb2d9856 (diff) |
Fix coverity defects: CID 155928
CID 155928: Integer handling issues (DIVIDE_BY_ZERO)
In the current vdev label, the leaf count is always non-zero
but it doesn't hurt to check the count for future proofing.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Don Brady <[email protected]>
Closes #5749
Diffstat (limited to 'include/sys/space_map.h')
0 files changed, 0 insertions, 0 deletions