VFS: Get rid of the deprecated Inode::write(const ByteBuffer&).

Fix the only remaining call site to use Inode::write_bytes().
This commit is contained in:
Andreas Kling
2019-01-23 04:59:47 +01:00
parent 906685e238
commit 07f4c8b01b
6 changed files with 7 additions and 62 deletions

View File

@@ -83,7 +83,6 @@ public:
virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) = 0;
virtual InodeIdentifier lookup(const String& name) = 0;
virtual String reverse_lookup(InodeIdentifier) = 0;
virtual bool write(const ByteBuffer&) = 0;
virtual ssize_t write_bytes(Unix::off_t, size_t, const byte* data, FileDescriptor*) = 0;
virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) = 0;
virtual bool remove_child(const String& name, int& error) = 0;