mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Kernel: Allow enumerating disk partitions without any devices detected
This commit is contained in:
parent
8993c43598
commit
4ba68c94fe
|
@ -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…
Reference in a new issue