mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
Kernel: Make sys$utime() and sys$utimensat() not take the big lock
This commit is contained in:
parent
280694bb46
commit
930dedfbd8
3 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ namespace Kernel {
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$utime(Userspace<char const*> user_path, size_t path_length, Userspace<const struct utimbuf*> user_buf)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::fattr));
|
||||
auto path = TRY(get_syscall_path_argument(user_path, path_length));
|
||||
utimbuf buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue