Kernel: Remove the now defunct LOCKER(..) macro.

This commit is contained in:
Brian Gianforcaro 2021-04-24 15:27:32 -07:00 committed by Andreas Kling
commit 8d6e9fad40
Notes: sideshowbarker 2024-07-18 19:07:40 +09:00
31 changed files with 196 additions and 198 deletions

View file

@ -15,7 +15,7 @@ KResultOr<int> Process::sys$uname(Userspace<utsname*> user_buf)
REQUIRE_PROMISE(stdio);
LOCKER(*g_hostname_lock, Lock::Mode::Shared);
Locker locker(*g_hostname_lock, Lock::Mode::Shared);
if (g_hostname->length() + 1 > sizeof(utsname::nodename))
return ENAMETOOLONG;