Start working on a VFS implementation #22

Closed
apio wants to merge 44 commits from oop-vfs into main
Showing only changes of commit 05b627d037 - Show all commits

View File

@ -1,5 +1,6 @@
#pragma once
#include "fs/VFS.h"
#include <luna/Atomic.h>
#include <luna/Badge.h>
#include <luna/Vector.h>
@ -27,7 +28,7 @@ namespace TmpFS
SharedPtr<VFS::Inode> m_root_inode;
Vector<SharedPtr<VFS::Inode>> m_inodes;
usize m_next_inode_number { 2 };
Atomic<usize> m_next_inode_number { 2 };
};
class Inode : public VFS::FileInode