mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Revert changes to NtSetVolumeInformationFile made in 38550, it should indeed use IoGetRelatedDeviceObject, not target device.
svn path=/trunk/; revision=38552
This commit is contained in:
parent
2882b5579f
commit
f54bc7959a
1 changed files with 1 additions and 2 deletions
|
@ -3307,8 +3307,7 @@ NtSetVolumeInformationFile(IN HANDLE FileHandle,
|
|||
}
|
||||
|
||||
/* Get the device object */
|
||||
Status = IoGetRelatedTargetDevice(FileObject, &DeviceObject);
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
DeviceObject = IoGetRelatedDeviceObject(FileObject);
|
||||
|
||||
/* Clear File Object event */
|
||||
KeClearEvent(&FileObject->Event);
|
||||
|
|
Loading…
Reference in a new issue