diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-23 04:59:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-23 04:59:47 +0100 |
commit | 07f4c8b01b4dd4211dfd5a7a9502d54c1a538234 (patch) | |
tree | 3ae6899f1bf8f51f3dd66f83c21481cc0ca16f35 /VirtualFileSystem/SyntheticFileSystem.cpp | |
parent | 906685e238f113c94c32e46b55a07e71ef904ba5 (diff) | |
download | serenity-07f4c8b01b4dd4211dfd5a7a9502d54c1a538234.zip |
VFS: Get rid of the deprecated Inode::write(const ByteBuffer&).
Fix the only remaining call site to use Inode::write_bytes().
Diffstat (limited to 'VirtualFileSystem/SyntheticFileSystem.cpp')
-rw-r--r-- | VirtualFileSystem/SyntheticFileSystem.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/VirtualFileSystem/SyntheticFileSystem.cpp b/VirtualFileSystem/SyntheticFileSystem.cpp index 95558236c9..18192467e5 100644 --- a/VirtualFileSystem/SyntheticFileSystem.cpp +++ b/VirtualFileSystem/SyntheticFileSystem.cpp @@ -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) |