From 7ee4e79cd6ae9ff98ca30205059086271e8d17f1 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 28 Feb 2019 22:33:00 +0100 Subject: [PATCH] Kernel: Oops, fix Vector assertion in FS::Sync. --- Kernel/FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }