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. |
||
|---|---|---|
| .. | ||
| Definitions.h | ||
| DirectoryEntry.h | ||
| ext2_types.h | ||
| FileSystem.cpp | ||
| FileSystem.h | ||
| Inode.cpp | ||
| Inode.h | ||