[ros-diffs] [fireball] 38552: - Revert changes to NtSetVolumeInformationFile made in 38550, it should indeed use IoGetRelatedDeviceObject, not target device.
fireball at svn.reactos.org
fireball at svn.reactos.org
Sun Jan 4 11:12:38 CET 2009
Author: fireball
Date: Sun Jan 4 04:12:38 2009
New Revision: 38552
URL: http://svn.reactos.org/svn/reactos?rev=38552&view=rev
Log:
- Revert changes to NtSetVolumeInformationFile made in 38550, it should indeed use IoGetRelatedDeviceObject, not target device.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iofunc.c?rev=38552&r1=38551&r2=38552&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Sun Jan 4 04:12:38 2009
@@ -3307,8 +3307,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);
More information about the Ros-diffs
mailing list