HomeFreeBSD

Fix division by zero, causing floating point exception in a drive progress

Description

Fix division by zero, causing floating point exception in a drive progress
command.

It was possible to read a value of zero from a busy controller used
as the divisor to calculate the remaining rebuild time.

Reported by: Pavel Udovenko <udovenko att nic.ru>
Discussed with: jhb
Approved by: kib (mentor)
MFC after: 1 week

Details

Provenance
pluknetAuthored on Feb 25 2011, 1:59 PM
Parents
rG9a253c101e11: Make the description of the feature consistent with another similar
Branches
Unknown
Tags
Unknown

Event Timeline