zephyr/tests/subsys
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
..
canbus device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
debug/coredump tests: add a test for coredump 2020-08-24 20:28:24 -04:00
dfu boards: arm: remove non-existing doc link from partition definitions 2020-10-27 15:01:19 -04:00
fs fs: fs_unmount will return -ENOTSUP if not implemented by driver 2020-10-30 15:54:04 +01:00
jwt tests: jwt: don't set main stack size 2020-10-20 10:09:36 -05:00
logging test: logging: Add more test cases for log core 2020-08-12 17:08:15 -05:00
mgmt/ec_host_cmd ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00
openthread device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
power/power_mgmt test: power: run test case on more platforms 2020-10-27 08:41:34 -04:00
settings boards: arm: remove non-existing doc link from partition definitions 2020-10-27 15:01:19 -04:00
shell device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
usb sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00