Kernel: Remove empty Ext2FSInode::one_ref_left()

This commit is contained in:
Andreas Kling 2022-01-11 00:42:35 +01:00
parent b66bb11ed1
commit a4b3bf1d63
Notes: sideshowbarker 2024-07-17 21:13:08 +09:00
2 changed files with 0 additions and 8 deletions

View file

@ -1553,11 +1553,6 @@ ErrorOr<NonnullRefPtr<Inode>> Ext2FSInode::lookup(StringView name)
return fs().get_inode({ fsid(), inode_index });
}
void Ext2FSInode::one_ref_left()
{
// FIXME: I would like to not live forever, but uncached Ext2FS is fucking painful right now.
}
ErrorOr<void> Ext2FSInode::set_atime(time_t t)
{
MutexLocker locker(m_inode_lock);

View file

@ -33,9 +33,6 @@ public:
bool is_symlink() const { return Kernel::is_symlink(m_raw_inode.i_mode); }
bool is_directory() const { return Kernel::is_directory(m_raw_inode.i_mode); }
// ^Inode (RefCounted magic)
virtual void one_ref_left() override;
private:
// ^Inode
virtual ErrorOr<size_t> read_bytes(off_t, size_t, UserOrKernelBuffer& buffer, OpenFileDescription*) const override;