[BTRFS]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 14 Sep 2017 09:04:32 +0000 (09:04 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 14 Sep 2017 09:04:32 +0000 (09:04 +0000)
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

index 4bf1242..0e3e917 100644 (file)
@@ -5588,9 +5588,11 @@ NTSTATUS DriverEntry(_In_ PDRIVER_OBJECT DriverObject, _In_ PUNICODE_STRING Regi
 
     KeInitializeEvent(&mountmgr_thread_event, NotificationEvent, FALSE);
 
 
     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);
     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);
 
 
     IoRegisterFileSystem(DeviceObject);