nuttx/fs/littlefs
Julian Oes 2a5de4ebc6 littlefs: fix statfs underflow during active writes
lfs_fs_size() can return more blocks than block_count during active
writes due to copy-on-write blocks. This caused f_bavail to underflow
to a large positive number. Add clamping to prevent this.

Signed-off-by: Julian Oes <julian@oes.ch>
2025-12-29 14:23:04 +08:00
..
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
CMakeLists.txt littlefs/cmake: fix build issue 2025-02-11 23:22:07 +08:00
Kconfig littlefs: Use LFS_DEFINES if available 2024-12-13 18:22:30 +08:00
lfs_getpath.patch littlefs/Make.defs:Add get path temp patch 2024-02-21 06:15:39 -08:00
lfs_getsetattr.patch style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
lfs_nuttx_defines.h littlefs: Use LFS_DEFINES if available 2024-12-13 18:22:30 +08:00
lfs_util.patch fs/xxfs:Replace kmm with fs heap 2024-09-30 16:30:56 +08:00
lfs_vfs.c littlefs: fix statfs underflow during active writes 2025-12-29 14:23:04 +08:00
lfs_vfs.h fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
Make.defs fs/littlefs/Make.defs: fix a littlefs unpack regression 2024-12-16 17:09:16 +08:00