|
|
32e8bf |
WHATS_NEW | 4 ++++
|
|
|
32e8bf |
lib/activate/activate.c | 10 +++-------
|
|
|
32e8bf |
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
32e8bf |
|
|
|
32e8bf |
diff --git a/WHATS_NEW b/WHATS_NEW
|
|
|
32e8bf |
index 6f339a5..04c6dcd 100644
|
|
|
32e8bf |
--- a/WHATS_NEW
|
|
|
32e8bf |
+++ b/WHATS_NEW
|
|
|
32e8bf |
@@ -1,3 +1,7 @@
|
|
|
32e8bf |
+Version 2.03.13 -
|
|
|
32e8bf |
+===============================
|
|
|
32e8bf |
+ Fix load of kvdo target when it is not present in memory (2.03.12).
|
|
|
32e8bf |
+
|
|
|
32e8bf |
Version 2.03.12 - 07th May 2021
|
|
|
32e8bf |
===============================
|
|
|
32e8bf |
Allow attaching cache to thin data volume.
|
|
|
32e8bf |
diff --git a/lib/activate/activate.c b/lib/activate/activate.c
|
|
|
32e8bf |
index 71db981..6bda738 100644
|
|
|
32e8bf |
--- a/lib/activate/activate.c
|
|
|
32e8bf |
+++ b/lib/activate/activate.c
|
|
|
32e8bf |
@@ -574,13 +574,9 @@ int module_present(struct cmd_context *cmd, const char *target_name)
|
|
|
32e8bf |
}
|
|
|
32e8bf |
|
|
|
32e8bf |
#ifdef MODPROBE_CMD
|
|
|
32e8bf |
- if (strcmp(target_name, MODULE_NAME_VDO) == 0) {
|
|
|
32e8bf |
- argv[1] = target_name; /* ATM kvdo is without dm- prefix */
|
|
|
32e8bf |
- if ((ret = exec_cmd(cmd, argv, NULL, 0)))
|
|
|
32e8bf |
- return ret;
|
|
|
32e8bf |
- }
|
|
|
32e8bf |
-
|
|
|
32e8bf |
- if (dm_snprintf(module, sizeof(module), "dm-%s", target_name) < 0) {
|
|
|
32e8bf |
+ if (strcmp(target_name, TARGET_NAME_VDO) == 0)
|
|
|
32e8bf |
+ argv[1] = MODULE_NAME_VDO; /* ATM kvdo is without dm- prefix */
|
|
|
32e8bf |
+ else if (dm_snprintf(module, sizeof(module), "dm-%s", target_name) < 0) {
|
|
|
32e8bf |
log_error("module_present module name too long: %s",
|
|
|
32e8bf |
target_name);
|
|
|
32e8bf |
return 0;
|