Kernel: Symlinks are now working
We still have to implement loop or depth detection
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Kernel
|
||||
BAN::RefPtr<Inode> inode;
|
||||
BAN::String canonical_path;
|
||||
};
|
||||
BAN::ErrorOr<File> file_from_absolute_path(BAN::StringView, bool follow_links);
|
||||
BAN::ErrorOr<File> file_from_absolute_path(BAN::StringView, bool follow_link);
|
||||
|
||||
private:
|
||||
VirtualFileSystem() = default;
|
||||
@@ -39,7 +39,7 @@ namespace Kernel
|
||||
MountPoint* mount_from_root_inode(BAN::RefPtr<Inode>);
|
||||
|
||||
private:
|
||||
RecursiveSpinLock m_lock;
|
||||
SpinLock m_lock;
|
||||
FileSystem* m_root_fs = nullptr;
|
||||
BAN::Vector<MountPoint> m_mount_points;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user