diff options
Diffstat (limited to 'Kernel/FileSystem/FileSystem.cpp')
-rw-r--r-- | Kernel/FileSystem/FileSystem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/FileSystem.cpp b/Kernel/FileSystem/FileSystem.cpp index 10eb4f50f4..368d924425 100644 --- a/Kernel/FileSystem/FileSystem.cpp +++ b/Kernel/FileSystem/FileSystem.cpp @@ -16,9 +16,9 @@ namespace Kernel { static u32 s_lastFileSystemID; -static Singleton<HashMap<u32, FileSystem*>> s_file_system_map; +static Singleton<HashMap<FileSystemID, FileSystem*>> s_file_system_map; -static HashMap<u32, FileSystem*>& all_file_systems() +static HashMap<FileSystemID, FileSystem*>& all_file_systems() { return *s_file_system_map; } @@ -34,7 +34,7 @@ FileSystem::~FileSystem() s_file_system_map->remove(m_fsid); } -FileSystem* FileSystem::from_fsid(u32 id) +FileSystem* FileSystem::from_fsid(FileSystemID id) { auto it = all_file_systems().find(id); if (it != all_file_systems().end()) |