1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

Kernel: Make sys$mknod() not take the big lock

This commit is contained in:
Andreas Kling 2022-08-22 13:16:00 +02:00
parent d86b25c460
commit 35b2e9c663
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ namespace Kernel {
ErrorOr<FlatPtr> Process::sys$mknod(Userspace<Syscall::SC_mknod_params const*> user_params)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::dpath));
auto params = TRY(copy_typed_from_user(user_params));