summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/TmpFS.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-12 09:18:47 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-12 10:26:29 +0100
commite44c1792a782c1a1c3218379ec4f5e7aa7b994f7 (patch)
treee8481a1b7a3849ca750b7cc2f649a77b72f66573 /Kernel/FileSystem/TmpFS.h
parentc8a90a31b6eb038fb42e1ed87178bf539fe20934 (diff)
downloadserenity-e44c1792a782c1a1c3218379ec4f5e7aa7b994f7.zip
Kernel: Add distinct InodeIndex type
Use the DistinctNumeric mechanism to make InodeIndex a strongly typed integer type.
Diffstat (limited to 'Kernel/FileSystem/TmpFS.h')
-rw-r--r--Kernel/FileSystem/TmpFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/TmpFS.h b/Kernel/FileSystem/TmpFS.h
index 489950e62d..9883c1e7a8 100644
--- a/Kernel/FileSystem/TmpFS.h
+++ b/Kernel/FileSystem/TmpFS.h
@@ -55,7 +55,7 @@ private:
RefPtr<TmpFSInode> m_root_inode;
- HashMap<unsigned, NonnullRefPtr<TmpFSInode>> m_inodes;
+ HashMap<InodeIndex, NonnullRefPtr<TmpFSInode>> m_inodes;
RefPtr<Inode> get_inode(InodeIdentifier identifier) const;
void register_inode(TmpFSInode&);
void unregister_inode(InodeIdentifier);