mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:05:00 +00:00
![]() Instead of returning a raw pointer, which could be technically invalid when using it in the caller function, we return a valid RefPtr of such device. This ensures that the code in DevPtsFS is now safe from a rare race condition in which the SlavePTY device is gone but we still have a pointer to it. |
||
---|---|---|
.. | ||
ATA | ||
NVMe | ||
SD | ||
USB | ||
StorageController.cpp | ||
StorageController.h | ||
StorageDevice.cpp | ||
StorageDevice.h | ||
StorageDevicePartition.cpp | ||
StorageDevicePartition.h | ||
StorageManagement.cpp | ||
StorageManagement.h |