mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:08:11 +00: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);
|
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)
|
Inode::Inode(FS& fs, unsigned index)
|
||||||
: m_fs(fs)
|
: m_fs(fs)
|
||||||
, m_index(index)
|
, m_index(index)
|
||||||
|
|
|
@ -54,7 +54,7 @@ public:
|
||||||
|
|
||||||
FS& fs() { return m_fs; }
|
FS& fs() { return m_fs; }
|
||||||
const FS& fs() const { 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; }
|
unsigned index() const { return m_index; }
|
||||||
|
|
||||||
size_t size() const { return metadata().size; }
|
size_t size() const { return metadata().size; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue