mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-11 19:16:24 +00:00
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:
@@ -273,13 +273,6 @@ void SynthFSInode::flush_metadata()
|
||||
{
|
||||
}
|
||||
|
||||
bool SynthFSInode::write(const ByteBuffer& data)
|
||||
{
|
||||
if (!m_write_callback)
|
||||
return 0; // FIXME: -EPERM?
|
||||
return m_write_callback(*this, data);
|
||||
}
|
||||
|
||||
ssize_t SynthFSInode::write_bytes(Unix::off_t offset, size_t size, const byte* buffer, FileDescriptor*)
|
||||
{
|
||||
if (!m_write_callback)
|
||||
|
||||
Reference in New Issue
Block a user