zephyr/subsys/fs/ext2
Chen Shu 5a5f05ba4e fs: ext2: Fix nbytes_to_read calculation in ext2_inode_read()
Fix incorrect nbytes_to_read calculation in ext2_inode_read() function.
Previously nbytes_to_read was decremented by read value which caused
incorrect calculation of bytes to read in subsequent iterations.
Now nbytes_to_read is decremented by to_read value which represents
the actual number of bytes read in current iteration.

This fixes potential data corruption issues when reading files from
ext2 filesystem.

Signed-off-by: Chen Shu <751541594@qq.com>
2025-01-15 11:51:10 +01:00
..
CMakeLists.txt
ext2_bitmap.c
ext2_bitmap.h
ext2_disk_access.c
ext2_diskops.c
ext2_diskops.h
ext2_format.c
ext2_impl.c fs: ext2: Fix nbytes_to_read calculation in ext2_inode_read() 2025-01-15 11:51:10 +01:00
ext2_impl.h
ext2_ops.c fs: ext2: add alignment for superblock 2024-09-30 17:10:56 +01:00
ext2_struct.h
ext2.h
Kconfig fs: ext2: add alignment for superblock 2024-09-30 17:10:56 +01:00