summaryrefslogtreecommitdiff
path: root/lib/misc
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2020-02-17 12:14:13 -0600
committerDavid Teigland <teigland@redhat.com>2020-02-17 13:07:06 -0600
commit4829f27b76742ed663de0a11babb5b9a5985b741 (patch)
treefb7d8a5852fa1247a51aecf3cdcc0bcec2217f12 /lib/misc
parentdb1d66859f8086467979b2d7e32843f70e4436e1 (diff)
downloadlvm2-4829f27b76742ed663de0a11babb5b9a5985b741.tar.gz
writecache: drop real dm suffix
fixes the problem of adding writecache to an active LV
Diffstat (limited to 'lib/misc')
-rw-r--r--lib/misc/lvm-string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/misc/lvm-string.c b/lib/misc/lvm-string.c
index 0ee3403d5..d8b27cb84 100644
--- a/lib/misc/lvm-string.c
+++ b/lib/misc/lvm-string.c
@@ -251,7 +251,6 @@ char *build_dm_uuid(struct dm_pool *mem, const struct logical_volume *lv,
*/
/* Suffixes used here MUST match lib/activate/dev_manager.c */
layer = lv_is_cache_origin(lv) ? "real" :
- lv_is_writecache_origin(lv) ? "real" :
(lv_is_cache(lv) && lv_is_pending_delete(lv)) ? "real" :
lv_is_cache_pool_data(lv) ? "cdata" :
lv_is_cache_pool_metadata(lv) ? "cmeta" :