summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeIdentifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/InodeIdentifier.h')
-rw-r--r--Kernel/FileSystem/InodeIdentifier.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Kernel/FileSystem/InodeIdentifier.h b/Kernel/FileSystem/InodeIdentifier.h
index 2a3958aff9..bf95dd7d96 100644
--- a/Kernel/FileSystem/InodeIdentifier.h
+++ b/Kernel/FileSystem/InodeIdentifier.h
@@ -42,3 +42,10 @@ private:
u32 m_fsid { 0 };
u32 m_index { 0 };
};
+
+inline const LogStream& operator<<(const LogStream& stream, const InodeIdentifier& value)
+{
+ stream << value.fsid() << ':' << value.index();
+ return stream;
+}
+