Author: ros-arm-bringup
Date: Sat Jul 19 15:57:31 2008
New Revision: 34592
URL:
http://svn.reactos.org/svn/reactos?rev=34592&view=rev
Log:
- Usually a good idea to fill out the device relation count instead of leaving it
uninitailized to 2 billion.
- Fixes all the ramdisk problems -- need to implement RamdiskWorkerThread now.
Modified:
trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
Modified: trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/ramd…
==============================================================================
--- trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] Sat Jul 19 15:57:31
2008
@@ -695,6 +695,11 @@
DeviceRelations->Objects,
Count * sizeof(PDEVICE_OBJECT));
}
+
+ //
+ // Save the count
+ //
+ OurDeviceRelations->Count = FinalCount;
//
// Now loop our drives again