From 7ff3658f109357ea033c759e993ccc3b2027cac1 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 7 Sep 2019 23:28:58 +0200 Subject: [PATCH] [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); -- 2.17.1