mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 12:49:00 +00:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lfs_getpath.patch | ||
| lfs_getsetattr.patch | ||
| lfs_nuttx_defines.h | ||
| lfs_util.patch | ||
| lfs_vfs.c | ||
| lfs_vfs.h | ||
| Make.defs | ||