The mp pointer is in fs_file_t and fs_dir_t so if the fs pointer is made NULL then subsequent file I/O operations will cause a NULL pointer exception. Removing the mount point from the list is threadsafe and should be sufficient. Signed-off-by: Chris Desjardins <chris@arch-embedded.com> |
||
|---|---|---|
| .. | ||
| ext2 | ||
| fcb | ||
| nvs | ||
| zms | ||
| 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 | ||