Author: pschweitzer
Date: Thu Jan 8 11:30:56 2009
New Revision: 38647
URL:
http://svn.reactos.org/svn/reactos?rev=38647&view=rev
Log:
Revert r38536
Modified:
branches/pierre-fsd/ntoskrnl/io/iomgr/iofunc.c
Modified: branches/pierre-fsd/ntoskrnl/io/iomgr/iofunc.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/io/iomgr/io…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Thu Jan 8 11:30:56 2009
@@ -3297,8 +3297,7 @@
}
/* Get the device object */
- Status = IoGetRelatedTargetDevice(FileObject, &DeviceObject);
- if (!NT_SUCCESS(Status)) return Status;
+ DeviceObject = IoGetRelatedDeviceObject(FileObject);
/* Clear File Object event */
KeClearEvent(&FileObject->Event);