https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7ff3658f109357ea033c7…
commit 7ff3658f109357ea033c759e993ccc3b2027cac1
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Sep 7 23:28:58 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat Sep 7 23:28:58 2019 +0200
[BTRFS] Reenable the MountMgr thread
Now that IOCTL_MOUNTMGR_QUERY_POINTS and IOCTL_MOUNTMGR_CHANGE_NOTIFY have
been fixed, the thread no longer eats 100% CPU nor prevent ReactOS shutdown
---
drivers/filesystems/btrfs/btrfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/filesystems/btrfs/btrfs.c b/drivers/filesystems/btrfs/btrfs.c
index 2f0c97d5675..2977667de9a 100644
--- a/drivers/filesystems/btrfs/btrfs.c
+++ b/drivers/filesystems/btrfs/btrfs.c
@@ -6013,11 +6013,9 @@ NTSTATUS __stdcall DriverEntry(_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_S
KeInitializeEvent(&mountmgr_thread_event, NotificationEvent, false);
-#ifndef __REACTOS__
Status = PsCreateSystemThread(&mountmgr_thread_handle, 0, NULL, NULL, NULL,
mountmgr_thread, NULL);
if (!NT_SUCCESS(Status))
WARN("PsCreateSystemThread returned %08x\n", Status);
-#endif
IoRegisterFileSystem(DeviceObject);