summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/FileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-25 00:27:39 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-25 00:27:39 +0100
commit6451b98ad44412a13fdc43133144e0dfc1080e67 (patch)
tree9a5486ee4869a3b226b619a9a1174e40627f8b3d /VirtualFileSystem/FileSystem.h
parent4f142b86ec8068cfc57a3b2b4f7d844d1179206a (diff)
downloadserenity-6451b98ad44412a13fdc43133144e0dfc1080e67.zip
Refactor FS::add_inode_to_directory() into Inode::add_child().
Diffstat (limited to 'VirtualFileSystem/FileSystem.h')
-rw-r--r--VirtualFileSystem/FileSystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/VirtualFileSystem/FileSystem.h b/VirtualFileSystem/FileSystem.h
index dcc8a4ddda..5bd7635417 100644
--- a/VirtualFileSystem/FileSystem.h
+++ b/VirtualFileSystem/FileSystem.h
@@ -82,6 +82,7 @@ public:
virtual InodeIdentifier lookup(const String& name) = 0;
virtual String reverse_lookup(InodeIdentifier) = 0;
virtual bool write(const ByteBuffer&) = 0;
+ virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) = 0;
bool is_metadata_dirty() const { return m_metadata_dirty; }