]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: return errors from writing ZFS labels
authorWarner Losh <imp@FreeBSD.org>
Thu, 22 Feb 2024 15:17:56 +0000 (08:17 -0700)
committerWarner Losh <imp@FreeBSD.org>
Thu, 22 Feb 2024 16:31:56 +0000 (09:31 -0700)
commite54bb0ad8058c0f84ceb08b49bb1d22af829a9e8
tree10d26aac98be8ba4e520300e0d209593bc046d9d
parentb3e76e3d9e2262c4b79e81e63e09bfe62c1f6baa
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
stand/libsa/zfs/zfsimpl.c