summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FileSystem.cpp
diff options
context:
space:
mode:
authorTheFightingCatfish <seekingblues@gmail.com>2021-09-11 23:28:59 -0400
committerAndreas Kling <kling@serenityos.org>2021-09-12 11:24:02 +0200
commita81b21c1a7f80e9e44c87e607049a23e7d9f33fd (patch)
tree53e49882b19f6b409910e7f6aad81c6c4e4433ba /Kernel/FileSystem/FileSystem.cpp
parentfd3735199b36e1b9a8776f377f8125bb5c93107f (diff)
downloadserenity-a81b21c1a7f80e9e44c87e607049a23e7d9f33fd.zip
Kernel+LibC: Implement fsync
Diffstat (limited to 'Kernel/FileSystem/FileSystem.cpp')
-rw-r--r--Kernel/FileSystem/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/FileSystem.cpp b/Kernel/FileSystem/FileSystem.cpp
index 75247ef647..b98840fd0a 100644
--- a/Kernel/FileSystem/FileSystem.cpp
+++ b/Kernel/FileSystem/FileSystem.cpp
@@ -51,7 +51,7 @@ FileSystem::DirectoryEntryView::DirectoryEntryView(const StringView& n, InodeIde
void FileSystem::sync()
{
- Inode::sync();
+ Inode::sync_all();
NonnullRefPtrVector<FileSystem, 32> file_systems;
{