open-cas-linux/modules/cas_cache
Robert Baldyga 05e0590fbc Protect core config preparation function against non-existing cache
It is legal to call KCAS_IOCTL_INSERT_CORE against non-existing cache
(in try_add mode), however in that case core_id has to be provded.
Return error code in case when given cache id does not exist and core_id
is set to OCF_CORE_MAX.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-10 20:03:50 +01:00
..
utils Fix error mapping 2021-11-26 09:29:37 +01:00
volume Merge pull request #982 from robertbaldyga/remove-redundant-io-get-put 2021-12-27 15:21:32 +01:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Fix license 2021-10-28 12:46:42 +02:00
classifier_defs.h Fix license 2021-10-28 12:46:42 +02:00
classifier.c Fix license 2021-10-28 12:46:42 +02:00
classifier.h Fix license 2021-10-28 12:46:42 +02:00
context.c Fix license 2021-10-28 12:46:42 +02:00
context.h Fix license 2021-10-28 12:46:42 +02:00
control.c Fix license 2021-10-28 12:46:42 +02:00
control.h Fix license 2021-10-28 12:46:42 +02:00
layer_cache_management.c Protect core config preparation function against non-existing cache 2022-01-10 20:03:50 +01:00
layer_cache_management.h Fix license 2021-10-28 12:46:42 +02:00
linux_kernel_version.h Fix license 2021-10-28 12:46:42 +02:00
main.c Fix license 2021-10-28 12:46:42 +02:00
Makefile Fix license 2021-10-28 12:46:42 +02:00
ocf_env_headers.h Fix license 2021-10-28 12:46:42 +02:00
ocf_env.c Fix license 2021-10-28 12:46:42 +02:00
ocf_env.h Fix license 2021-10-28 12:46:42 +02:00
service_ui_ioctl.c Fix license 2021-10-28 12:46:42 +02:00
service_ui_ioctl.h Fix license 2021-10-28 12:46:42 +02:00
threads.c Fix license 2021-10-28 12:46:42 +02:00
threads.h Fix license 2021-10-28 12:46:42 +02:00