HomeFreeBSD

loader: return errors from writing ZFS labels

Description

loader: return errors from writing ZFS labels

vdev_write_bootenv_impl can only return success. Instead, return the
last error. This will make any write errors more visible. The old code
masked kboot's inability to write bootenv.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D44018

Details

Provenance
impAuthored on Feb 22 2024, 3:17 PM
Differential Revision
D44018: loader: return errors from writing ZFS labels
Parents
rGb3e76e3d9e22: kboot: Implement write support for hostdisk
Branches
Unknown
Tags
Unknown