mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
Ext2FS::get_inode() will remember unknown inode indices that it has been asked about and put them into the inode cache as null inodes. flush_writes() was not null-checking these while iterating, which was a bug I finally managed to hit. Flushing also seemed like a good time to drop unknown inodes from the cache, since there's no good reason to hold to them indefinitely.
70 KiB
70 KiB