1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

Get rid of FS::read_inode_bytes() and use Inode::read_bytes() everywhere.

This commit is contained in:
Andreas Kling 2018-12-21 17:28:16 +01:00
parent 951ed6692b
commit 8a71303827
8 changed files with 11 additions and 127 deletions

View file

@ -34,8 +34,6 @@ public:
virtual bool write_inode(InodeIdentifier, const ByteBuffer&) = 0;
virtual InodeMetadata inode_metadata(InodeIdentifier) const = 0;
virtual ssize_t read_inode_bytes(InodeIdentifier, Unix::off_t offset, size_t count, byte* buffer, FileDescriptor*) const = 0;
bool is_readonly() const { return m_readonly; }
struct DirectoryEntry {