zephyr/subsys/fs
Aurelien Jarno d47fada3a4 subsys: fs/nvs: fix writes when write_block_size != 1
The current code computes the block-aligned len by ANDing the len with
~write_block_size instead of ~(write_block_size - 1).

In addition the compute value can be 0 (for lengths that are less than
the block size), so the first flash write might have to be skipped.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2018-08-24 13:24:04 -05:00
..
fcb subsys: kconfig: Remove 'default n' properties and clean up a bit 2018-07-12 23:13:22 -04:00
nvs subsys: fs/nvs: fix writes when write_block_size != 1 2018-08-24 13:24:04 -05:00
CMakeLists.txt cmake: default to linking 'app' with the interface library 'FS' 2018-07-25 08:27:45 -04:00
fat_fs.c subsys: fs: Add the support for multiple instances of fs 2018-05-08 08:53:01 -04:00
fs.c subsys: fs: Add the support for multiple instances of fs 2018-05-08 08:53:01 -04:00
Kconfig cmake: default to linking 'app' with the interface library 'FS' 2018-07-25 08:27:45 -04:00
nffs_fs.c subsys: fs: Add the support for multiple instances of fs 2018-05-08 08:53:01 -04:00
shell.c subsys: fs: Fix fs_file_t and fs_dir_t usage 2018-03-13 09:47:58 -05:00