zephyr/include
Dominik Ermel 5faf3750bc fs: fs_mount parameter verification before mutex locked block
The commit moves fs_mount parameter verification above mutex lock.
The list of mount points is now checked before attempting to obtain
file system API pointer.
All modifications to mount point data structure, given as a parameter
to the fs_mount, are only applied after every other operation needed
have completed successfully, immediately before adding the mount point
to the list of mount points.
The fs_mount will a warning when mounted file system does not support
unmount.
When a file system does not provide mount function, the -ENOTSUP error
will be returned instead of -EINVAL.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2020-10-30 15:54:04 +01:00
..
app_memory include: mem_domain use C linkage 2020-10-28 17:05:43 +01:00
arch x86: mmustructs: Fix define typo 2020-10-29 16:44:22 -04:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth Bluetooth: host: Document and check for disallowed directed advertising 2020-10-29 16:02:57 +02:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
data json: Add top-level array encoding support 2020-06-19 18:21:27 +02:00
debug debug: x86: Add gdbstub for X86 2020-09-02 20:54:57 -04:00
devicetree devicetree: rename header to reflect that io-channels are not ADC-only 2020-10-19 17:21:33 +02:00
dfu dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
disk device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
display device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers drivers: add infrastructure for regulator devices 2020-10-28 15:22:53 +01:00
dt-bindings include: dt-bindings: Add macros entry point for DTS preprocessor 2020-10-23 09:38:55 -05:00
fs fs: fs_mount parameter verification before mutex locked block 2020-10-30 15:54:04 +01:00
linker linker: add linker sections for thread local storage 2020-10-24 10:52:00 -07:00
logging logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
lorawan lorawan,lora: fix C++ compilation/linking errors 2020-10-15 11:08:07 +02:00
mgmt mgmt/osdp: CP: Unify osdp_cp_send_cmd_*() as osdp_cp_send_command() 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
posix include/posix: fix extern "C" placement 2020-10-13 10:05:30 -05:00
power zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings settings: disallow modifying the content of a static subtree name 2020-07-27 19:03:44 +02:00
shell shell: documentation update 2020-10-08 10:12:25 -04:00
stats zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
sys doc: allow macro resolving in \deprecated usage 2020-10-27 13:09:24 +01:00
timing timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00
toolchain toolchain: define __no_optimization attribute across toolchains 2020-10-06 11:41:23 -04:00
tracing tracing: trace mutex/semaphore using dedicated calls 2020-08-24 13:21:12 +02:00
usb code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
zephyr zephyr: Use deprecated instead of legacy for Kconfig int types 2020-06-09 06:49:56 -05:00
cache.h syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
device.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
devicetree.h devicetree: add a name for an invalid node identifier 2020-10-19 18:14:11 +02:00
ec_host_cmd.h include: remove enum build assert 2020-10-02 11:44:39 +02:00
emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_nextlevel.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_offload.h irq: Change offload API to take a constant parameter 2020-09-02 13:48:13 +02:00
irq.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
kernel_includes.h kernel: move kernel object APIs to own header 2020-10-12 12:21:46 -04:00
kernel_structs.h kernel: move k_heap definition 2020-10-06 19:56:51 -04:00
kernel_version.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
kernel.h kernel: improve k_thread_user_mode_enter() docs 2020-10-26 13:06:16 +01:00
mempool_heap.h sys_heap: reduce the size of struct z_heap_bucket by half 2020-06-21 19:25:35 +02:00
mempool_sys.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ptp_clock.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sched_priq.h
shared_irq.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
spinlock.h kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
sw_isr_table.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
sys_clock.h kernel/sys_clock.h: Remove deprecated macros 2020-10-04 14:12:27 -07:00
syscall_handler.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
syscall.h
timeout_q.h kernel: timer: update _timeout API for const correctness 2020-10-02 11:29:14 +02:00
toolchain.h ARC: toolchain: handle difference in macros for MWDT and ARC GNU 2020-09-05 10:22:56 -05:00
wait_q.h
zephyr.h