[CDROM] Set proper status on disk verify

This avoids an assert under certain conditions in CDFS.
Check cdrom_new for reference.

CORE-14873
This commit is contained in:
Pierre Schweitzer 2018-08-19 11:11:21 +02:00
parent 901c47ed14
commit c1ac347825
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -7156,7 +7156,7 @@ Return Value:
// upon completion of the read capacity.
//
IrpToComplete->IoStatus.Status = STATUS_VERIFY_REQUIRED;
IrpToComplete->IoStatus.Status = STATUS_IO_DEVICE_ERROR;
IoMarkIrpPending(IrpToComplete);
IoCallDriver(DeviceExtension->PortDeviceObject, irp);