mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[MOUNTMGR] Query proper device when creating mount point
We must query the target device, and not the symbolic link we attempt to create. The later will always fail as it doesn't exist yet. This fixes MountMgrCreatePointWorker not working.
This commit is contained in:
parent
7b650d2c3e
commit
225a1e92bd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ MountMgrCreatePointWorker(IN PDEVICE_EXTENSION DeviceExtension,
|
|||
PDEVICE_INFORMATION DeviceInformation = NULL, DeviceInfo;
|
||||
|
||||
/* Get device name */
|
||||
Status = QueryDeviceInformation(SymbolicLinkName,
|
||||
Status = QueryDeviceInformation(DeviceName,
|
||||
&TargetDeviceName,
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
|
|
Loading…
Reference in a new issue