mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
We first must flush the superblock through the BlockBasedFileSystem methods properly and only then clear the DiskCache pointer, to prevent a possible kernel panic due to nullptr dereference.