1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Kernel: Oops, fix Vector assertion in FS::Sync.

This commit is contained in:
Andreas Kling 2019-02-28 22:33:00 +01:00
parent 6b581aff77
commit 7ee4e79cd6

View file

@ -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);
}
}