mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:13:04 +00:00
Correctly clear DO_DEVICE_INITIALIZING flag
See issue #1862 for more details. svn path=/trunk/; revision=24706
This commit is contained in:
parent
534b73b00f
commit
9f9c29b952
2 changed files with 3 additions and 2 deletions
|
@ -99,6 +99,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
|
|||
DriverObject->DriverUnload = NULL;
|
||||
|
||||
IoRegisterFileSystem(DeviceObject);
|
||||
DeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
|
||||
|
||||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
|
|
@ -358,8 +358,8 @@ CdfsMountVolume(PDEVICE_OBJECT DeviceObject,
|
|||
DeviceExt->StorageDevice->Vpb->DeviceObject = NewDeviceObject;
|
||||
DeviceExt->StorageDevice->Vpb->RealDevice = DeviceExt->StorageDevice;
|
||||
DeviceExt->StorageDevice->Vpb->Flags |= VPB_MOUNTED;
|
||||
DeviceObject->StackSize = DeviceExt->StorageDevice->StackSize + 1;
|
||||
DeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
|
||||
NewDeviceObject->StackSize = DeviceExt->StorageDevice->StackSize + 1;
|
||||
NewDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
|
||||
|
||||
DeviceExt->StreamFileObject = IoCreateStreamFileObject(NULL,
|
||||
DeviceExt->StorageDevice);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue