mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 0b649878a5
Pull-request: https://github.com/SerenityOS/serenity/pull/20866
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kleinesfilmroellchen
Reviewed-by: https://github.com/supercomputer7
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