Kernel: replaced is_partition/storage with kind
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user