From 9cf08cfa626436d803323c0ff15add4d6652e271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 29 Dec 2014 09:07:01 +0000 Subject: [PATCH] =?UTF-8?q?[RAMDISK]=C2=A0Explicit=20the=20relation=20type?= =?UTF-8?q?=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=65872 --- reactos/drivers/storage/class/ramdisk/ramdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/storage/class/ramdisk/ramdisk.c b/reactos/drivers/storage/class/ramdisk/ramdisk.c index 1966f63c6c6..30210e54114 100644 --- a/reactos/drivers/storage/class/ramdisk/ramdisk.c +++ b/reactos/drivers/storage/class/ramdisk/ramdisk.c @@ -1734,7 +1734,7 @@ RamdiskQueryDeviceRelations(IN DEVICE_RELATION_TYPE Type, // // Anything but bus relations, we don't handle // - if (Type) goto PassToNext; + if (Type != BusRelations) goto PassToNext; // // Acquire the disk list lock