1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

Kernel: Support Mutex Protected lists in ListedRefCounted

This will allow us to support Mutex Protected lists like the custodies
list as well.
This commit is contained in:
Idan Horowitz 2021-12-29 00:22:14 +02:00 committed by Andreas Kling
parent 7204b292c5
commit be91b4fe3e
4 changed files with 19 additions and 8 deletions

View file

@ -23,7 +23,7 @@
namespace Kernel {
class Inode : public ListedRefCounted<Inode>
class Inode : public ListedRefCounted<Inode, LockType::Spinlock>
, public Weakable<Inode> {
friend class VirtualFileSystem;
friend class FileSystem;