[RAMDISK] Explicit the relation type check

svn path=/trunk/; revision=65872
This commit is contained in:
Hervé Poussineau 2014-12-29 09:07:01 +00:00
parent c45cee00e3
commit 9cf08cfa62

View file

@ -1734,7 +1734,7 @@ RamdiskQueryDeviceRelations(IN DEVICE_RELATION_TYPE Type,
// //
// Anything but bus relations, we don't handle // Anything but bus relations, we don't handle
// //
if (Type) goto PassToNext; if (Type != BusRelations) goto PassToNext;
// //
// Acquire the disk list lock // Acquire the disk list lock