grub/grub-core/osdep/linux
Andrei Borzenkov 3bca85b418 devmapper: check for valid device abstraction in get_grub_dev
This was lost when code was refactored. Patch restores previous behavior.

It is still not clear whether this is the right one. Due to the way we
detect DM abstraction, partitions on DM are skipped, we fall through to
generic detection which ends up in assuming parent device is BIOS disk.

It is useful to install GRUB on VM disk from the host. But it also means
that GRUB will mistakenly allow install on real system as well.

For now let's fix regression; future behavior needs to be discussed.

Closes: 45163
2015-12-26 21:45:22 +03:00
..
blocklist.c linux/blocklist: Fix memory leak. 2015-01-26 09:50:58 +01:00
emunet.c Split emunet into platform-dependent and GRUB-binding parts. Keep 2013-10-15 11:55:20 +02:00
getroot.c devmapper: check for valid device abstraction in get_grub_dev 2015-12-26 21:45:22 +03:00
hostdisk.c linux/hostdisk: use strncpy instead of strlcpy 2015-01-27 20:00:23 +03:00
ofpath.c remove extra newlines in grub_util_* strings 2015-05-13 09:47:17 +03:00
platform.c Recognize EFI platform even in case of mismatch between Linux and EFI. 2015-03-27 14:51:51 +01:00