mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[MOUNTMGR] Fix global symbolic link creations
They were wrongly pointing to the original target once rewritten instead of pointing to the proper target: the device. This notably fixes opening the MountMgr device from user mode (to perform IOCTL calls, for instance), and might also fix various bugs dealing with global namespaces. This might have some various effects in ReactOS~.
This commit is contained in:
parent
6f353f7747
commit
77657c22c9
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ GlobalCreateSymbolicLink(IN PUNICODE_STRING DosName,
|
|||
}
|
||||
|
||||
/* Then, create the symlink */
|
||||
Status = IoCreateSymbolicLink(&GlobalName, DosName);
|
||||
Status = IoCreateSymbolicLink(&GlobalName, DeviceName);
|
||||
|
||||
FreePool(GlobalName.Buffer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue