summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/SysFS/LinkInode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/SysFS/LinkInode.cpp')
-rw-r--r--Kernel/FileSystem/SysFS/LinkInode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/SysFS/LinkInode.cpp b/Kernel/FileSystem/SysFS/LinkInode.cpp
index b3bf62e5ff..ac065bb288 100644
--- a/Kernel/FileSystem/SysFS/LinkInode.cpp
+++ b/Kernel/FileSystem/SysFS/LinkInode.cpp
@@ -9,9 +9,9 @@
namespace Kernel {
-ErrorOr<NonnullLockRefPtr<SysFSLinkInode>> SysFSLinkInode::try_create(SysFS const& sysfs, SysFSComponent const& component)
+ErrorOr<NonnullRefPtr<SysFSLinkInode>> SysFSLinkInode::try_create(SysFS const& sysfs, SysFSComponent const& component)
{
- return adopt_nonnull_lock_ref_or_enomem(new (nothrow) SysFSLinkInode(sysfs, component));
+ return adopt_nonnull_ref_or_enomem(new (nothrow) SysFSLinkInode(sysfs, component));
}
SysFSLinkInode::SysFSLinkInode(SysFS const& fs, SysFSComponent const& component)