From 24f02bd42196efd6456fce3aac8d8304066a1a45 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 7 Mar 2022 17:56:25 +0100 Subject: Kernel: Put Process's current directory in a SpinlockProtected Also let's call it "current_directory" instead of "cwd" everywhere. --- Kernel/ProcessSpecificExposed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/ProcessSpecificExposed.cpp') diff --git a/Kernel/ProcessSpecificExposed.cpp b/Kernel/ProcessSpecificExposed.cpp index c0db187b18..a8b1e0ecbb 100644 --- a/Kernel/ProcessSpecificExposed.cpp +++ b/Kernel/ProcessSpecificExposed.cpp @@ -274,7 +274,7 @@ ErrorOr Process::procfs_get_virtual_memory_stats(KBufferBuilder& builder) ErrorOr Process::procfs_get_current_work_directory_link(KBufferBuilder& builder) const { - return builder.append(TRY(const_cast(*this).current_directory().try_serialize_absolute_path())->view()); + return builder.append(TRY(const_cast(*this).current_directory()->try_serialize_absolute_path())->view()); } mode_t Process::binary_link_required_mode() const -- cgit v1.2.3