loader: 313329 missed ZFS guard in loader/main.c
Missing guard added. Reviewed by: imp, allanjude Approved by: imp (mentor), allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D9458
This commit is contained in:
parent
faa95641b3
commit
8df1c280b8
@ -185,6 +185,7 @@ find_currdev(EFI_LOADED_IMAGE *img)
|
||||
int unit;
|
||||
uint64_t extra;
|
||||
|
||||
#ifdef EFI_ZFS_BOOT
|
||||
/* Did efi_zfs_probe() detect the boot pool? */
|
||||
if (pool_guid != 0) {
|
||||
struct zfs_devdesc currdev;
|
||||
@ -203,6 +204,7 @@ find_currdev(EFI_LOADED_IMAGE *img)
|
||||
env_nounset);
|
||||
return (0);
|
||||
}
|
||||
#endif /* EFI_ZFS_BOOT */
|
||||
|
||||
/* We have device lists for hd, cd, fd, walk them all. */
|
||||
pdi_list = efiblk_get_pdinfo_list(&efipart_hddev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user