2013-12-04 22:11:00 +01:00
|
|
|
Index: b/stage2/disk_io.c
|
|
|
|
===================================================================
|
|
|
|
--- a/stage2/disk_io.c
|
|
|
|
+++ b/stage2/disk_io.c
|
|
|
|
@@ -365,7 +365,7 @@
|
2006-03-18 14:07:29 +01:00
|
|
|
int
|
2013-12-04 22:11:00 +01:00
|
|
|
devwrite (unsigned int sector, int sector_count, char *buf)
|
2006-03-18 14:07:29 +01:00
|
|
|
{
|
|
|
|
-#if defined(GRUB_UTIL) && defined(__linux__)
|
|
|
|
+#if defined(GRUB_UTIL) && defined(__linux__) && !defined(SUPPORT_LOOPDEV)
|
|
|
|
if (current_partition != 0xFFFFFF
|
|
|
|
&& is_disk_device (device_map, current_drive))
|
|
|
|
{
|