]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kboot: Use standard set_currdev
authorWarner Losh <imp@FreeBSD.org>
Fri, 13 Jan 2023 21:21:16 +0000 (14:21 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 24 Jan 2023 21:49:47 +0000 (14:49 -0700)
commitf9ab67f200a4c0e5fabdcd00332eac474848ab3a
tree40dbb5d3852f2d9242b7481429ba0e64cf2267d3
parent0b569fe6717a155c6f46e63d9de75ab009fcf5d1
kboot: Use standard set_currdev

Use the standard set_currdev instead of the (now very old) copy of
setting currdev and loaddev directly. We do this only when we don't go
find the ZFS pool to boot from.

Sponsored by: Netflix
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D38012

(cherry picked from commit eb1795782cfc43523345f78737cc22277cea5056)
stand/kboot/main.c