projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d904ee1
)
[BTRFS] Reenable the MountMgr thread
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 7 Sep 2019 21:28:58 +0000
(23:28 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 7 Sep 2019 21:28:58 +0000
(23:28 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/filesystems/btrfs/btrfs.c
b/drivers/filesystems/btrfs/btrfs.c
index
2f0c97d
..
2977667
100644
(file)
--- 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);