zephyr/subsys/fs
Andrzej Puzdrowski 54000fb886 fs/nvs: fix startup for 2-sectors configuration
This patch fixes following bug:

After first GC operation the 1st sector had become scratch
and the 2nd sector had became write sector. After that NVS
was initialize (via reboot) again - it recognized the 1st
sector as write sector and 2nd as undone GC destination sector,
therefore it cleared 2nd sector and  re-run GC, which implied data loss.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2019-05-22 10:22:53 +02:00
..
fcb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
nvs fs/nvs: fix startup for 2-sectors configuration 2019-05-22 10:22:53 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fat_fs.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
fs.c subsys: fs: Use template to define CONFIG_FS_LOG_LEVEL 2018-10-15 09:18:03 -04:00
Kconfig kconfig: Use depend on instead of select to avoid kconfig loop 2019-03-12 19:42:40 +01:00
nffs_fs.c tests: subsys: fs : Fix coverity issue 2019-03-14 14:20:45 +01:00
shell.c subsys/fs/shell: fix unchecked return from fs_seek in cmd_read 2019-03-02 12:28:03 +01:00