mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Rename CoreInode to Inode.
I don't know what I was thinking here. Clearly Inode is the right name.
This commit is contained in:
parent
038d8641f9
commit
d506c857ab
9 changed files with 30 additions and 30 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
unsigned retain_count() const { return retainCount; }
|
||||
|
||||
CoreInode* core_inode() { return m_core_inode.ptr(); }
|
||||
Inode* core_inode() { return m_core_inode.ptr(); }
|
||||
|
||||
private:
|
||||
friend class VFS;
|
||||
|
@ -69,7 +69,7 @@ private:
|
|||
CharacterDevice* m_characterDevice { nullptr };
|
||||
mutable InodeMetadata m_cachedMetadata;
|
||||
void* m_vmo { nullptr };
|
||||
RetainPtr<CoreInode> m_core_inode;
|
||||
RetainPtr<Inode> m_core_inode;
|
||||
};
|
||||
|
||||
class VFS {
|
||||
|
@ -119,7 +119,7 @@ public:
|
|||
size_t mount_count() const { return m_mounts.size(); }
|
||||
void for_each_mount(Function<void(const Mount&)>) const;
|
||||
|
||||
String absolute_path(CoreInode&);
|
||||
String absolute_path(Inode&);
|
||||
|
||||
InodeIdentifier root_inode_id() const;
|
||||
|
||||
|
@ -127,11 +127,11 @@ private:
|
|||
friend class FileDescriptor;
|
||||
friend class Vnode;
|
||||
|
||||
RetainPtr<CoreInode> get_inode(InodeIdentifier);
|
||||
RetainPtr<Inode> get_inode(InodeIdentifier);
|
||||
|
||||
bool is_vfs_root(InodeIdentifier) const;
|
||||
|
||||
void traverse_directory_inode(CoreInode&, Function<bool(const FS::DirectoryEntry&)>);
|
||||
void traverse_directory_inode(Inode&, Function<bool(const FS::DirectoryEntry&)>);
|
||||
InodeIdentifier resolve_path(const String& path, InodeIdentifier base, int& error, int options = 0, InodeIdentifier* deepest_dir = nullptr);
|
||||
InodeIdentifier resolveSymbolicLink(InodeIdentifier base, InodeIdentifier symlinkInode, int& error);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue