zephyr/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
..
bluetooth Bluetooth: Mesh: Fix model tree walk procedure 2020-10-30 16:27:20 +02:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp
debug debug: gdbstub: Send an error code when accessing invalid memory 2020-09-02 20:54:57 -04:00
dfu storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
disk subsys/disk: stm32 sdmmc: Add support for device tree pinctrl 2020-10-29 09:21:27 +01:00
emul emul: spi: bmi160: Add support for I2C 2020-10-27 16:41:30 +01:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs: fs_unmount will return -ENOTSUP if not implemented by driver 2020-10-30 15:54:04 +01:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: mipi-sys-t: move platform.h to main tree 2020-10-29 07:23:40 -04:00
lorawan lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
mgmt mgmt/osdp: Fix early check of no-data that holds PD online 2020-10-21 17:36:16 +02:00
net net: buf: change avail_count variable to atomic type 2020-10-28 18:45:11 +02:00
power power: fix Kconfig help message 2020-09-14 21:27:23 -04:00
random random: Warning when using test config 2020-10-02 11:30:03 +02:00
settings settings_fcb: initialize rc variable 2020-10-02 12:07:06 -04:00
shell shell: increase stack size for OpenThread 2020-10-09 11:51:41 +02:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
testsuite kernel: move kernel object APIs to own header 2020-10-12 12:21:46 -04:00
timing timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00
tracing tracing: add feature for analysing post-mortem 2020-10-07 10:10:48 -04:00
usb usb: hci: Remove handling of unused DC statuses. 2020-10-20 10:04:32 -05:00
CMakeLists.txt lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00
Kconfig lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00