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:
parent
d86b25c460
commit
35b2e9c663
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue