From e6fc7b3ff7618cd88a03683eb5b2145c9932d562 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 7 Mar 2023 12:25:00 +0100 Subject: Kernel: Switch LockRefPtr to RefPtr 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. --- Kernel/FileSystem/RAMFS/FileSystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/FileSystem/RAMFS/FileSystem.h') diff --git a/Kernel/FileSystem/RAMFS/FileSystem.h b/Kernel/FileSystem/RAMFS/FileSystem.h index bfe965e0dc..08273f1e00 100644 --- a/Kernel/FileSystem/RAMFS/FileSystem.h +++ b/Kernel/FileSystem/RAMFS/FileSystem.h @@ -30,7 +30,7 @@ public: private: RAMFS(); - LockRefPtr m_root_inode; + RefPtr m_root_inode; // NOTE: We start by assigning InodeIndex of 2, because 0 is invalid and 1 // is reserved for the root directory inode. -- cgit v1.2.3