diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-07 12:25:00 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-09 21:54:59 +0100 |
commit | e6fc7b3ff7618cd88a03683eb5b2145c9932d562 (patch) | |
tree | a94f6090c00962ac0468a402de4d92977f813481 /Kernel/FileSystem/SysFS/LinkInode.h | |
parent | 067d0689c5f7ff720fcfec9ff4d2898741948fed (diff) | |
download | serenity-e6fc7b3ff7618cd88a03683eb5b2145c9932d562.zip |
Kernel: Switch LockRefPtr<Inode> to RefPtr<Inode>
The main place where this is a little iffy is in RAMFS where inodes
have a LockWeakPtr to their parent inode. I've left that as a
LockWeakPtr for now.
Diffstat (limited to 'Kernel/FileSystem/SysFS/LinkInode.h')
-rw-r--r-- | Kernel/FileSystem/SysFS/LinkInode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/SysFS/LinkInode.h b/Kernel/FileSystem/SysFS/LinkInode.h index 750b22b7ef..835bffe45e 100644 --- a/Kernel/FileSystem/SysFS/LinkInode.h +++ b/Kernel/FileSystem/SysFS/LinkInode.h @@ -14,7 +14,7 @@ class SysFSLinkInode : public SysFSInode { friend class SysFS; public: - static ErrorOr<NonnullLockRefPtr<SysFSLinkInode>> try_create(SysFS const&, SysFSComponent const&); + static ErrorOr<NonnullRefPtr<SysFSLinkInode>> try_create(SysFS const&, SysFSComponent const&); virtual ~SysFSLinkInode() override; protected: |