freebsd-dev/sys/boot/userboot
Toomas Soome d47b2e96e9 loader: r316585 did miss userboot update
The work to implement zfs reader to inspect all pool label copies did
miss the userboot, this update does correct this issue.

Since userboot is already using common/disk.c API (disk_open() etc),
the fix is quite simple - we only need to make sure the userdisk_iocl()
will call disk_ioctl(). In addition, the diskioctl callback does return
int, not pointer.

Note, the review request is actually addressing the sparc and userboot,
but as testing the fix for sparc will take some more time, I am posting the
userboot fix now.

This patch is part of the implementation presented in review:
https://reviews.freebsd.org/D10302

Once we have the sparc part tested, we will have the complete fix
for the issue.

Reviewed by:	imp
2017-04-09 11:16:16 +00:00
..
ficl Add SHA512, skein, large blocks support for loader zfs. 2016-08-18 00:37:07 +00:00
libstand DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
test Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
userboot loader: r316585 did miss userboot update 2017-04-09 11:16:16 +00:00
zfs Disable loop unrolling in skein for sys/boot 2016-10-06 03:32:30 +00:00
Makefile ZFS boot support for bhyveload. 2014-02-22 07:18:06 +00:00
userboot.h Add vm_set_register() and vm_set_desc() callbacks. These callbacks 2016-02-26 16:00:16 +00:00