summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/SyntheticFileSystem.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-23 04:59:47 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-23 04:59:47 +0100
commit07f4c8b01b4dd4211dfd5a7a9502d54c1a538234 (patch)
tree3ae6899f1bf8f51f3dd66f83c21481cc0ca16f35 /VirtualFileSystem/SyntheticFileSystem.cpp
parent906685e238f113c94c32e46b55a07e71ef904ba5 (diff)
downloadserenity-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.cpp7
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)