summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-28 22:33:00 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-28 22:33:00 +0100
commit7ee4e79cd6ae9ff98ca30205059086271e8d17f1 (patch)
treee5f6c31fc43ba81c3496ac0212e67627adaac862
parent6b581aff773659ff5201450bb25d6bbc360d3b30 (diff)
downloadserenity-7ee4e79cd6ae9ff98ca30205059086271e8d17f1.zip
Kernel: Oops, fix Vector assertion in FS::Sync.
-rw-r--r--Kernel/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem.cpp b/Kernel/FileSystem.cpp
index d6ca427ec0..0b237b3129 100644
--- a/Kernel/FileSystem.cpp
+++ b/Kernel/FileSystem.cpp
@@ -149,7 +149,7 @@ void FS::sync()
InterruptDisabler disabler;
for (auto* inode : all_inodes()) {
if (inode->is_metadata_dirty())
- inodes.unchecked_append(*inode);
+ inodes.append(*inode);
}
}