mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
don't crash on media change while accessing data
svn path=/trunk/; revision=30578
This commit is contained in:
parent
17095a0c94
commit
9c326c1b0b
|
@ -199,9 +199,6 @@ CdfsDeviceIoControl (IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
NewStatus = IoVerifyVolume(DeviceToVerify, FALSE);
|
NewStatus = IoVerifyVolume(DeviceToVerify, FALSE);
|
||||||
DPRINT1("IoVerifyVolume() returned (Status %lx)\n", NewStatus);
|
DPRINT1("IoVerifyVolume() returned (Status %lx)\n", NewStatus);
|
||||||
|
|
||||||
if (NewStatus == STATUS_SUCCESS || NewStatus == STATUS_WRONG_VOLUME)
|
|
||||||
Status = STATUS_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT("Returning Status %x\n", Status);
|
DPRINT("Returning Status %x\n", Status);
|
||||||
|
|
Loading…
Reference in a new issue