From 03dfbbb09d7e0569fdd63ed89a0d5972a5d426fd Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 14 Sep 2017 09:04:32 +0000 Subject: [PATCH] [BTRFS] Disable the MountMgr thread; given the current storage stack state, it's useless and can even cause troubles CORE-13769 svn path=/trunk/; revision=75836 --- reactos/drivers/filesystems/btrfs/btrfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/drivers/filesystems/btrfs/btrfs.c b/reactos/drivers/filesystems/btrfs/btrfs.c index 4bf12424827..0e3e9175310 100644 --- a/reactos/drivers/filesystems/btrfs/btrfs.c +++ b/reactos/drivers/filesystems/btrfs/btrfs.c @@ -5588,9 +5588,11 @@ NTSTATUS DriverEntry(_In_ PDRIVER_OBJECT DriverObject, _In_ PUNICODE_STRING Regi 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