zephyr/subsys/fs
Riadh Ghaddab 2eba2e9c9c zms: add more robustiness in extreme cases
When power cuts during a GC operation, the sector is erased again in the
next reboot cycle and the cycle_cnt of the empty ATE is incremented.
If the same power cut happens 255 times in a row, the empty ATE cycle_cnt
will become equal to the close ATE which causes a memory corruption.
Fix this by checking the close ATE cycle_cnt before incrementing the
empty ATE cycle_cnt.

Fixes: #84874
Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-04-16 20:36:49 +02:00
..
ext2 fs: ext2: Fix potential integer overflow in disk access size calculation 2025-01-30 16:20:58 +01:00
fcb
nvs fs: nvs: move FLASH_PAGE_LAYOUT to depends on 2025-02-27 09:07:56 +00:00
zms zms: add more robustiness in extreme cases 2025-04-16 20:36:49 +02:00
CMakeLists.txt native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fat_fs.c fs: enable fstab devicetree integration for fatfs 2025-03-15 13:07:40 +01:00
fs_impl.c
fs_impl.h
fs.c fs: update module logging registration 2025-03-27 03:50:22 +01:00
fuse_fs_access_bottom.c native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fuse_fs_access_bottom.h native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fuse_fs_access.c native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
Kconfig native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
Kconfig.fatfs fs: enable fstab devicetree integration for fatfs 2025-03-15 13:07:40 +01:00
Kconfig.littlefs fs: allow enabling filesystems with FILE_SYSTEM_LIB_LINK 2025-01-21 15:13:05 +01:00
littlefs_fs.c fs/littlefs: Log error code on failed flash_area_open 2025-01-18 12:39:53 +01:00
shell.c fs: shell: fix maybe-uninitialized warning 2025-04-14 11:49:28 +02:00