Kernel: Fix ext2 inode deletion cleanup

I now cleanup all blocks (including direct) in i_block array
This commit is contained in:
2023-10-28 16:48:19 +03:00
parent 14d24bce98
commit 35b46e37bb
3 changed files with 51 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ namespace Kernel
BAN::ErrorOr<void> link_inode_to_directory(Ext2Inode&, BAN::StringView name);
BAN::ErrorOr<bool> is_directory_empty();
void cleanup_indirect_block(uint32_t block, uint32_t depth);
BAN::ErrorOr<void> cleanup_default_links();
void cleanup_from_fs();