mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:12:44 +00:00 
			
		
		
		
	Kernel: Remove UNMAP_ATER_INIT from StorageDeviceSysFSDirectory
We will need these when plugging in USB drives
This commit is contained in:
		
							parent
							
								
									4fd915b005
								
							
						
					
					
						commit
						0b649878a5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -18,7 +18,7 @@ StorageDevice const& StorageDeviceSysFSDirectory::device(Badge<StorageDeviceAttr | |||
|     return *m_device; | ||||
| } | ||||
| 
 | ||||
| UNMAP_AFTER_INIT NonnullRefPtr<StorageDeviceSysFSDirectory> StorageDeviceSysFSDirectory::create(SysFSDirectory const& parent_directory, StorageDevice const& device) | ||||
| NonnullRefPtr<StorageDeviceSysFSDirectory> StorageDeviceSysFSDirectory::create(SysFSDirectory const& parent_directory, StorageDevice const& device) | ||||
| { | ||||
|     // FIXME: Handle allocation failure gracefully
 | ||||
|     auto lun_address = device.logical_unit_number_address(); | ||||
|  | @ -33,7 +33,7 @@ UNMAP_AFTER_INIT NonnullRefPtr<StorageDeviceSysFSDirectory> StorageDeviceSysFSDi | |||
|     return directory; | ||||
| } | ||||
| 
 | ||||
| UNMAP_AFTER_INIT StorageDeviceSysFSDirectory::StorageDeviceSysFSDirectory(NonnullOwnPtr<KString> device_directory_name, SysFSDirectory const& parent_directory, StorageDevice const& device) | ||||
| StorageDeviceSysFSDirectory::StorageDeviceSysFSDirectory(NonnullOwnPtr<KString> device_directory_name, SysFSDirectory const& parent_directory, StorageDevice const& device) | ||||
|     : SysFSDirectory(parent_directory) | ||||
|     , m_device(device) | ||||
|     , m_device_directory_name(move(device_directory_name)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hendiadyoin1
						Hendiadyoin1