Kernel: Replace is_* with kind field

Replaced the is_* virtual functions with a kind field instead
This commit is contained in:
2026-05-15 21:23:12 +03:00
committed by Bananymous
parent 647d6a273d
commit 16967cd9c0
8 changed files with 20 additions and 14 deletions
+3 -2
View File
@@ -11,6 +11,7 @@ namespace Kernel
MUST(DevFileSystem::get().allocate_inode(create_inode_info(mode, uid, gid))),
create_inode_info(mode, uid, gid)
)
{ }
{
m_kind |= InodeKind::DEVICE;
}
}