mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
FileSystem: Get rid of VFS::resolve_path().
The only remaining client was resolve_symbolic_link() which now deals in custodies instead.
This commit is contained in:
parent
874bffc729
commit
709d168807
2 changed files with 5 additions and 97 deletions
|
@ -108,8 +108,7 @@ private:
|
|||
bool is_vfs_root(InodeIdentifier) const;
|
||||
|
||||
void traverse_directory_inode(Inode&, Function<bool(const FS::DirectoryEntry&)>);
|
||||
KResultOr<InodeIdentifier> resolve_path(StringView path, InodeIdentifier base, int options = 0, InodeIdentifier* parent_id = nullptr);
|
||||
KResultOr<InodeIdentifier> resolve_symbolic_link(InodeIdentifier base, Inode& symlink_inode);
|
||||
KResultOr<Retained<Custody>> resolve_symbolic_link(Custody& base, Inode& symlink_inode);
|
||||
|
||||
Mount* find_mount_for_host(InodeIdentifier);
|
||||
Mount* find_mount_for_guest(InodeIdentifier);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue