diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-08 15:37:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-09 16:43:00 +0100 |
commit | 69a6a4d9276b9de52988e4fbb5df102a329c1eed (patch) | |
tree | 67ff5458e7a842d3c3d1f618240e9f038233f2a9 /Kernel/API/Syscall.h | |
parent | a61424a62bbde229f69ab52c13826a31d699a66a (diff) | |
download | serenity-69a6a4d9276b9de52988e4fbb5df102a329c1eed.zip |
Kernel: Mark sys$fstatvfs() 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/Syscall.h')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index ec88f26ed9..68e3fc7f98 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -73,7 +73,7 @@ enum class NeedsBigProcessLock { S(fcntl, NeedsBigProcessLock::Yes) \ S(fork, NeedsBigProcessLock::Yes) \ S(fstat, NeedsBigProcessLock::No) \ - S(fstatvfs, NeedsBigProcessLock::Yes) \ + S(fstatvfs, NeedsBigProcessLock::No) \ S(fsync, NeedsBigProcessLock::No) \ S(ftruncate, NeedsBigProcessLock::Yes) \ S(futex, NeedsBigProcessLock::Yes) \ |