mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 15:49:15 +00:00
Kernel+LibPartition: Move PartitionTable into LibPartition
This commit is contained in:
parent
be1c5c6b9f
commit
940dde9947
Notes:
sideshowbarker
2024-07-17 08:41:42 +09:00
Author: https://github.com/SamuelBowman
Commit: 940dde9947
Pull-request: https://github.com/SerenityOS/serenity/pull/14432
Reviewed-by: https://github.com/linusg
8 changed files with 42 additions and 43 deletions
|
@ -131,7 +131,7 @@ UNMAP_AFTER_INIT void StorageManagement::dump_storage_devices_and_partitions() c
|
|||
}
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT ErrorOr<NonnullOwnPtr<PartitionTable>> StorageManagement::try_to_initialize_partition_table(StorageDevice const& device) const
|
||||
UNMAP_AFTER_INIT ErrorOr<NonnullOwnPtr<Partition::PartitionTable>> StorageManagement::try_to_initialize_partition_table(StorageDevice const& device) const
|
||||
{
|
||||
auto mbr_table_or_error = MBRPartitionTable::try_to_initialize(device);
|
||||
if (!mbr_table_or_error.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue