1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

Kernel: Ensure we flush the entire ext2 superblock

This commit is contained in:
Liav A 2020-04-06 16:50:24 +03:00 committed by Andreas Kling
parent 061badeaea
commit 65dd9d5ad3
3 changed files with 26 additions and 2 deletions

View file

@ -58,6 +58,9 @@ protected:
bool raw_read(unsigned index, u8* buffer);
bool raw_write(unsigned index, const u8* buffer);
bool raw_read_blocks(unsigned index, size_t count, u8* buffer);
bool raw_write_blocks(unsigned index, size_t count, const u8* buffer);
bool write_block(unsigned index, const u8*, FileDescription* = nullptr);
bool write_blocks(unsigned index, unsigned count, const u8*, FileDescription* = nullptr);