mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +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() | UNMAP_AFTER_INIT void StorageManagement::enumerate_disk_partitions() | ||||||
| { | { | ||||||
|     VERIFY(!m_storage_devices.is_empty()); |  | ||||||
|     for (auto& device : m_storage_devices) { |     for (auto& device : m_storage_devices) { | ||||||
|         // FIXME: Maybe handle this error in some way shape or form
 |         // FIXME: Maybe handle this error in some way shape or form
 | ||||||
|         (void)enumerate_device_partitions(device); |         (void)enumerate_device_partitions(device); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hendiadyoin1
						Hendiadyoin1