mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Kernel: Inline Inode::fsid()
This commit is contained in:
parent
3b11e471bd
commit
9cbdd5f01e
2 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue