From c922a7da090d57ed36cf8526e985b82ec3f4933f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 22 Aug 2021 01:49:22 +0200 Subject: Kernel: Rename ScopedSpinlock => SpinlockLocker This matches MutexLocker, and doesn't sound like it's a lock itself. --- Kernel/FileSystem/File.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/FileSystem/File.h') diff --git a/Kernel/FileSystem/File.h b/Kernel/FileSystem/File.h index 3fc4d419f7..cfc9bd3134 100644 --- a/Kernel/FileSystem/File.h +++ b/Kernel/FileSystem/File.h @@ -34,7 +34,7 @@ public: void unblock() { - ScopedSpinlock lock(m_lock); + SpinlockLocker lock(m_lock); do_unblock([&](auto& b, void* data, bool&) { VERIFY(b.blocker_type() == Thread::Blocker::Type::File); auto& blocker = static_cast(b); -- cgit v1.2.3