mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 23:35:07 +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:
parent
906685e238
commit
07f4c8b01b
6 changed files with 7 additions and 62 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue