git: 412c7437218a - stable/13 - userboot is missing vdisk_dev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jun 2022 08:15:48 UTC
The branch stable/13 has been updated by tsoome:
URL: https://cgit.FreeBSD.org/src/commit/?id=412c7437218a287557e47bfab18f42358c25b6e8
commit 412c7437218a287557e47bfab18f42358c25b6e8
Author: Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2022-06-09 06:56:19 +0000
Commit: Toomas Soome <tsoome@FreeBSD.org>
CommitDate: 2022-06-26 04:52:57 +0000
userboot is missing vdisk_dev
Add vdisk device support in userboot configuration.
(cherry picked fromcommit e368fb6eb6eb3041fa9f4c608377ddf90d33f11e)
---
stand/userboot/userboot/conf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/stand/userboot/userboot/conf.c b/stand/userboot/userboot/conf.c
index af63528163d5..1846b9b74e3f 100644
--- a/stand/userboot/userboot/conf.c
+++ b/stand/userboot/userboot/conf.c
@@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$");
#include "libzfs.h"
#endif
+extern struct devsw vdisk_dev;
+
/*
* We could use linker sets for some or all of these, but
* then we would have to control what ended up linked into
@@ -55,6 +57,7 @@ __FBSDID("$FreeBSD$");
struct devsw *devsw[] = {
&host_dev,
&userboot_disk,
+ &vdisk_dev,
#if defined(USERBOOT_ZFS_SUPPORT)
&zfs_dev,
#endif