diff --git a/kernel/src/fs/tmpfs/FileSystem.h b/kernel/src/fs/tmpfs/FileSystem.h index 77c012c1..b92a5072 100644 --- a/kernel/src/fs/tmpfs/FileSystem.h +++ b/kernel/src/fs/tmpfs/FileSystem.h @@ -1,5 +1,6 @@ #pragma once #include "fs/VFS.h" +#include #include #include @@ -27,7 +28,7 @@ namespace TmpFS SharedPtr m_root_inode; Vector> m_inodes; - usize m_next_inode_number { 2 }; + Atomic m_next_inode_number { 2 }; }; class Inode : public VFS::FileInode