Don Brady cd5083c00c 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 <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@intel.com>
Closes #5749
2017-02-07 09:29:47 -08:00
..
2013-01-09 16:54:58 -08:00
2017-02-07 09:29:47 -08:00
2017-01-03 11:31:18 -06:00
2016-08-31 14:32:46 -07:00
2017-01-03 11:31:18 -06:00
2017-01-03 11:31:18 -06:00