projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b650d2
)
[MOUNTMGR] Query proper device when creating mount point
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 19 Oct 2019 14:34:38 +0000
(16:34 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 19 Oct 2019 14:59:57 +0000
(16:59 +0200)
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.
drivers/filters/mountmgr/point.c
patch
|
blob
|
history
diff --git
a/drivers/filters/mountmgr/point.c
b/drivers/filters/mountmgr/point.c
index
35fe8bb
..
a2469b0
100644
(file)
--- a/
drivers/filters/mountmgr/point.c
+++ b/
drivers/filters/mountmgr/point.c
@@
-44,7
+44,7
@@
MountMgrCreatePointWorker(IN PDEVICE_EXTENSION DeviceExtension,
PDEVICE_INFORMATION DeviceInformation = NULL, DeviceInfo;
/* Get device name */
- Status = QueryDeviceInformation(
SymbolicLink
Name,
+ Status = QueryDeviceInformation(
Device
Name,
&TargetDeviceName,
NULL, NULL, NULL,
NULL, NULL, NULL);