Kernel: Inline Inode::fsid()

This commit is contained in:
Sergey Bugaev 2020-05-18 21:46:02 +03:00 committed by Andreas Kling
parent 3b11e471bd
commit 9cbdd5f01e
2 changed files with 1 additions and 6 deletions

View file

@ -104,11 +104,6 @@ KResultOr<NonnullRefPtr<Custody>> Inode::resolve_as_link(Custody& base, RefPtr<C
return VFS::the().resolve_path(path, base, out_parent, options, symlink_recursion_level);
}
unsigned Inode::fsid() const
{
return m_fs.fsid();
}
Inode::Inode(FS& fs, unsigned index)
: m_fs(fs)
, m_index(index)

View file

@ -54,7 +54,7 @@ public:
FS& fs() { return m_fs; }
const FS& fs() const { return m_fs; }
unsigned fsid() const;
unsigned fsid() const { return m_fs.fsid(); }
unsigned index() const { return m_index; }
size_t size() const { return metadata().size; }