[MOUNTMGR] Don't kill Mm when a device has several symlinks
authorPierre Schweitzer <pierre@reactos.org>
Sat, 19 Oct 2019 16:04:30 +0000 (18:04 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 19 Oct 2019 16:04:30 +0000 (18:04 +0200)
commita058e680b662ad4aca76e1fe4803fe033c124aa2
tree2410b5d8102aed34cd320e0813c051c2df9ef0c2
parent67d3fbdd97ef967573b7405e4310ae4bdfd8d7f0
[MOUNTMGR] Don't kill Mm when a device has several symlinks

On preflight to compute output size, device name & unique ID were
counted only once per device.
Then, on copy, these two were copied on every MOUNTMGR_MOUNT_POINT
structure. This is counter efficient (data duplication) but also,
it was overruning the output buffer, since the preflight was not
expecting these extra copies.
drivers/filters/mountmgr/point.c