]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/zfs: Refactor zfs_get_bootenv
authorWarner Losh <imp@FreeBSD.org>
Mon, 1 May 2023 15:26:51 +0000 (09:26 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 1 May 2023 21:02:53 +0000 (15:02 -0600)
commit6479bd1b7d347e42012fab64b595b0cf091e13f4
tree8788a5dd27752a706b7e0ca2c0f21549089c0d40
parent439a9766adbabcdfcce9fb0396b43c9e1482155a
stand/zfs: Refactor zfs_get_bootenv

Create a new interface to zfs_get_bootenv called zfs_get_bootenv_spa
which takes a spa instead of a void * (effectively a devdesc *). Use
that in zfs_get_bootenv.

Sponsored by: Netflix
Reviewed by: tsoome, kevans
Differential Revision: https://reviews.freebsd.org/D39409
stand/libsa/zfs/zfs.c
stand/libsa/zfs/zfsimpl.c