Kernel: replaced is_partition/storage with kind

This commit is contained in:
2026-05-15 21:36:01 +03:00
committed by Bananymous
parent 5e1b5c329b
commit 1fcd72e578
5 changed files with 17 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ namespace Kernel
, m_attributes(attr)
, m_name(MUST(BAN::String::formatted("{}{}", name_prefix, index)))
{
m_kind |= InodeKind::PARTITION;
m_rdev = makedev(major(device->rdev()), index);
memcpy(m_label, label, sizeof(m_label));
}