zephyr/subsys/fs/ext2
Franciszek Pindel 8cc2d90123 fs: ext2: Fix removing indirect blocks
This commit fixes removing indirect blocks (marking them as 0)
in the inode structure. Previous version of the code was removing
the top-level blocks only when the first removed block was
one of the first 12 direct blocks. However, when the first removed
block is the first block in the referenced block list, its parent
(indirect block) should also be removed.

Signed-off-by: Franciszek Pindel <fpindel@antmicro.com>
2024-04-19 10:13:09 +02:00
..
CMakeLists.txt fs: ext2: create dir and file operations 2023-08-03 12:22:01 -04:00
ext2.h fs: ext2: create correct file system in mkfs 2023-08-03 12:22:01 -04:00
ext2_bitmap.c fs: ext2: fix blocks and inodes handling 2023-08-03 12:22:01 -04:00
ext2_bitmap.h fs: ext2: fix blocks and inodes handling 2023-08-03 12:22:01 -04:00
ext2_disk_access.c fs: ext2: impl fs_sync 2023-08-03 12:22:01 -04:00
ext2_diskops.c fs: ext2: Fix removing indirect blocks 2024-04-19 10:13:09 +02:00
ext2_diskops.h fs: ext2: Use disk structs to access data on disk 2023-08-03 12:22:01 -04:00
ext2_format.c fs: ext2: Fix calculating fs_memory in ext2_format 2024-04-11 09:07:43 +02:00
ext2_impl.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
ext2_impl.h fs: ext2: Use disk structs to access data on disk 2023-08-03 12:22:01 -04:00
ext2_ops.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
ext2_struct.h fs: ext2: Use disk structs to access data on disk 2023-08-03 12:22:01 -04:00
Kconfig fs: ext2: create dir and file operations 2023-08-03 12:22:01 -04:00