mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Kernel: Allow enumerating disk partitions without any devices detected
This commit is contained in:
parent
8993c43598
commit
4ba68c94fe
1 changed files with 0 additions and 1 deletions
|
@ -225,7 +225,6 @@ ErrorOr<void> StorageManagement::enumerate_device_partitions(StorageDevice& devi
|
|||
|
||||
UNMAP_AFTER_INIT void StorageManagement::enumerate_disk_partitions()
|
||||
{
|
||||
VERIFY(!m_storage_devices.is_empty());
|
||||
for (auto& device : m_storage_devices) {
|
||||
// FIXME: Maybe handle this error in some way shape or form
|
||||
(void)enumerate_device_partitions(device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue