diff --git a/src/dll/mount.c b/src/dll/mount.c index ff745365..682fd20b 100644 --- a/src/dll/mount.c +++ b/src/dll/mount.c @@ -141,6 +141,12 @@ static NTSTATUS FspMountSet_MountmgrDirectory(HANDLE VolumeHandle, PWSTR VolumeN { /* use MountManager from FSD and exit */ Result = FspFsctlUseMountmgr(VolumeHandle, MountPoint + 4); + if (!NT_SUCCESS(Result)) + goto exit; + + *PMountHandle = MountHandle; + + Result = STATUS_SUCCESS; goto exit; }