HomeFreeBSD

Fix positive ABD size assertion in abd_verify().

Description

Fix positive ABD size assertion in abd_verify().

Gang ABDs without childred are legal, and they do have zero size.
For other ABD types zero size doesn't have much sense and likely
not working correctly now.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14795

Details

Provenance
mavAuthored on Apr 26 2023, 4:20 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 2 2023, 6:17 PM
Parents
rG7d26967d4e32: Move zap_attribute_t to the heap in dsl_deadlist_merge
Branches
Unknown
Tags
Unknown

Event Timeline