1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

Revert "Kernel: Protect InodeWatcher internals with spinlock instead of mutex"

This reverts commit 0bebf013e3.

This caused a deadlock when handling a crashed process, so let's revert
it until we can figure out what went wrong.
This commit is contained in:
Andreas Kling 2022-02-03 18:24:30 +01:00
parent e7dc9f71b8
commit 34f6c88ffd
2 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@ public:
private:
explicit InodeWatcher() { }
mutable Spinlock m_lock;
mutable Mutex m_lock;
struct Event {
int wd { 0 };