summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/utimensat.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-22 13:37:07 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-22 17:56:03 +0200
commit930dedfbd82767caa52b1f27b2cdc29ac2e8a5eb (patch)
tree9fa138b8c6276de0f7aa95ca93f3c10874bdb36e /Kernel/Syscalls/utimensat.cpp
parent280694bb46202c4a4a704f227d6141dc483bbeb4 (diff)
downloadserenity-930dedfbd82767caa52b1f27b2cdc29ac2e8a5eb.zip
Kernel: Make sys$utime() and sys$utimensat() not take the big lock
Diffstat (limited to 'Kernel/Syscalls/utimensat.cpp')
-rw-r--r--Kernel/Syscalls/utimensat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/utimensat.cpp b/Kernel/Syscalls/utimensat.cpp
index 26d8a4704f..d491aae670 100644
--- a/Kernel/Syscalls/utimensat.cpp
+++ b/Kernel/Syscalls/utimensat.cpp
@@ -14,7 +14,7 @@ namespace Kernel {
ErrorOr<FlatPtr> Process::sys$utimensat(Userspace<Syscall::SC_utimensat_params const*> user_params)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
+ VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::fattr));
auto params = TRY(copy_typed_from_user(user_params));