zephyr/subsys/fs
Dominik Ermel 6238bf4185 fs: Use fs_mount_t.node to check if system is mounted
The commit changes fs_mount and fs_unmount to use node fs_mount_t
member to decide whether file system described by given fs_mount_t
object has already been mounted.
Previously there was no such check in case of fs_mount, which
would allow to remount the same object as long as mount path
has been changed.
The fs_unmount has been checking whether API pointer (fs) has been
filled now it checks whether fs_mount_t is linked anywhere,
which is sign that the object is used.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-07-04 15:47:56 +02:00
..
fcb storage: flash_map: remove device_get_binding 2022-07-02 16:04:16 +02:00
nvs fs/nvs: Fix comment typo 2022-06-05 14:49:20 +02:00
CMakeLists.txt modules: littlefs: move CMake glue code from littlefs repo into Zephyr 2022-03-02 15:34:11 +01:00
fat_fs.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fs_impl.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fs_impl.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fs.c fs: Use fs_mount_t.node to check if system is mounted 2022-07-04 15:47:56 +02:00
fuse_fs_access.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
Kconfig fs: Kconifg: use rsource instead of source for local Kconfigs 2022-04-11 12:12:20 +02:00
Kconfig.fatfs kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.littlefs kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
littlefs_fs.c treewide: update flash_area name retrieval 2022-07-02 16:04:16 +02:00
shell.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00