HomeFreeBSD

loader.efi: only fetch zfs pool guid for the actual boot device

Description

loader.efi: only fetch zfs pool guid for the actual boot device

With the zfs probe cleanup, the mistake did slip in the probe code;
instead of reading the pool GUID for the actual boot device (partition),
we read GUID for first found pool from the boot disk.

This will break the case when there are both zfs pool and ufs on the boot
disk, and the ufs is used for boot, not zfs.

Reviewed by: smh
Differential Revision: https://reviews.freebsd.org/D10359

Details

Provenance
tsoomeAuthored on Apr 11 2017, 3:20 PM
Parents
rG4176bf15d4df: This file is also used in libcompiler_rt, so bring in stdbool.h if we're not
Branches
Unknown
Tags
Unknown

Event Timeline