https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c1ac347825fe4d47ba206…
commit c1ac347825fe4d47ba206d94c9f91130e0c78dd8
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Aug 19 11:11:21 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Aug 19 11:11:21 2018 +0200
[CDROM] Set proper status on disk verify
This avoids an assert under certain conditions in CDFS.
Check cdrom_new for reference.
CORE-14873
---
drivers/storage/class/cdrom/cdrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/class/cdrom/cdrom.c b/drivers/storage/class/cdrom/cdrom.c
index 69ddd19f9d..a1c477ef9e 100644
--- a/drivers/storage/class/cdrom/cdrom.c
+++ b/drivers/storage/class/cdrom/cdrom.c
@@ -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);