summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-07 21:38:10 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-08 00:19:49 +0100
commit6354a9a0303af2f8ece388c72907bbeb89196723 (patch)
tree3b5d42ded05a6f5b72cb3af5b5753402084e86d2 /Kernel/API
parentef45ff47032af1d4cc4c84f63c88155b5d5fe18b (diff)
downloadserenity-6354a9a0303af2f8ece388c72907bbeb89196723.zip
Kernel: Mark sys$fsync() as not needing the big lock
This syscall doesn't access any data that was implicitly protected by the big lock.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 2fb5c580cc..9ef87ca331 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -78,7 +78,7 @@ enum class NeedsBigProcessLock {
S(fork, NeedsBigProcessLock::Yes) \
S(fstat, NeedsBigProcessLock::No) \
S(fstatvfs, NeedsBigProcessLock::Yes) \
- S(fsync, NeedsBigProcessLock::Yes) \
+ S(fsync, NeedsBigProcessLock::No) \
S(ftruncate, NeedsBigProcessLock::Yes) \
S(futex, NeedsBigProcessLock::Yes) \
S(get_dir_entries, NeedsBigProcessLock::Yes) \