summaryrefslogtreecommitdiff
path: root/Kernel/Storage/StorageDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Storage/StorageDevice.h')
-rw-r--r--Kernel/Storage/StorageDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Storage/StorageDevice.h b/Kernel/Storage/StorageDevice.h
index 21840b4d92..1fe30c0bd2 100644
--- a/Kernel/Storage/StorageDevice.h
+++ b/Kernel/Storage/StorageDevice.h
@@ -29,11 +29,13 @@
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Lock.h>
+#include <Kernel/Storage/Partition/DiskPartition.h>
#include <Kernel/Storage/StorageController.h>
namespace Kernel {
class StorageDevice : public BlockDevice {
+ friend class StorageManagement;
AK_MAKE_ETERNAL
public:
enum class Type : u8 {
@@ -63,6 +65,7 @@ protected:
private:
NonnullRefPtr<StorageController> m_storage_controller;
+ NonnullRefPtrVector<DiskPartition> m_partitions;
size_t m_max_addressable_block;
};