zephyr/subsys/fs
Dominik Ermel e7886c6634 fs: fs_unmount will return -ENOTSUP if not implemented by driver
The commit changes error handling by fs_unmount; the function will
return -EINVAL if mount point, described by mp, is not mounted or
-ENNOTSUP when unmounting is not supported by the driver; in the second
case it will also log error.

Additionally to the above changes, checks for correct mnt_path and
mnt_path, within fs_unmount, have been removed as they are not needed;
only the fs_mount_t->fs pointer is needed to decide whether system is
mounted or not.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2020-10-30 15:54:04 +01:00
..
fcb zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nvs drivers: flash: Pass bool to flash_write_protection_set() 2020-10-02 12:06:28 -04:00
CMakeLists.txt
fat_fs.c fs: Move fs_file_system_t declaration out of fs.h 2020-10-23 12:55:41 +02:00
fs_impl.c
fs_impl.h
fs.c fs: fs_unmount will return -ENOTSUP if not implemented by driver 2020-10-30 15:54:04 +01:00
fuse_fs_access.c native_posix: Add flags argument to fs_open invocations 2020-07-30 16:33:18 +02:00
Kconfig fs: Move FAT FS Kconfig options to Kconfig.fatfs 2020-10-14 13:19:47 -05:00
Kconfig.fatfs fs: Move FAT FS Kconfig options to Kconfig.fatfs 2020-10-14 13:19:47 -05:00
Kconfig.littlefs fs: Move all LittleFS options to Kconfig.littlefs 2020-10-14 13:19:47 -05:00
littlefs_fs.c fs: Move fs_file_system_t declaration out of fs.h 2020-10-23 12:55:41 +02:00
shell.c subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00