If filesystem relies on zfp flags being set after open, this can lead to inconsistency with the current implementation of FS_O_TRUNC. Move the assignment of zfp->flags before any other call to fs api to avoid such issues. Signed-off-by: Pierrick Guillaume <pierguill@gmail.com> |
||
|---|---|---|
| .. | ||
| ext2 | ||
| fcb | ||
| nvs | ||
| CMakeLists.txt | ||
| fat_fs.c | ||
| fs_impl.c | ||
| fs_impl.h | ||
| fs.c | ||
| fuse_fs_access.c | ||
| Kconfig | ||
| Kconfig.fatfs | ||
| Kconfig.littlefs | ||
| littlefs_fs.c | ||
| shell.c | ||