HomeFreeBSD

Fix incorrect error report on vdev attach/replace

Description

Fix incorrect error report on vdev attach/replace

Report the correct error message in libzfs when attaching/replacing a
vdev with a higher ashift.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #16449

Details

Provenance
Ameer Hamza <ahamza@ixsystems.com>Authored on Aug 15 2024, 7:39 PM
GitHub <noreply@github.com>Committed on Aug 15 2024, 7:39 PM
Parents
rG83f359245adc: FreeBSD: fix build without kernel option MAC
Branches
Unknown
Tags
Unknown