Author: cwittich
Date: Mon Nov 19 17:24:03 2007
New Revision: 30578
URL:
http://svn.reactos.org/svn/reactos?rev=30578&view=rev
Log:
don't crash on media change while accessing data
Modified:
trunk/reactos/drivers/filesystems/cdfs/common.c
Modified: trunk/reactos/drivers/filesystems/cdfs/common.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/common.c (original)
+++ trunk/reactos/drivers/filesystems/cdfs/common.c Mon Nov 19 17:24:03 2007
@@ -199,9 +199,6 @@
NewStatus = IoVerifyVolume(DeviceToVerify, FALSE);
DPRINT1("IoVerifyVolume() returned (Status %lx)\n", NewStatus);
-
- if (NewStatus == STATUS_SUCCESS || NewStatus == STATUS_WRONG_VOLUME)
- Status = STATUS_SUCCESS;
}
DPRINT("Returning Status %x\n", Status);