mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
- 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. svn path=/trunk/; revision=34592
This commit is contained in:
parent
46eda1013c
commit
5bcb1c6a0e
|
@ -696,6 +696,11 @@ RamdiskQueryDeviceRelations(IN DEVICE_RELATION_TYPE Type,
|
||||||
Count * sizeof(PDEVICE_OBJECT));
|
Count * sizeof(PDEVICE_OBJECT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Save the count
|
||||||
|
//
|
||||||
|
OurDeviceRelations->Count = FinalCount;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Now loop our drives again
|
// Now loop our drives again
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue