diff options
author | David Teigland <teigland@redhat.com> | 2019-09-23 14:10:56 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-09-23 14:13:31 -0500 |
commit | 5191057d9df3e5b92db3f80c412b99aea1074358 (patch) | |
tree | d27593ea363f42facc08d1235b6aa6ecdab5da9f /lib/misc | |
parent | 338a60bb417e413820a6d1faeed864222607c8ef (diff) | |
download | lvm2-5191057d9df3e5b92db3f80c412b99aea1074358.tar.gz |
drop cvol dm uuid suffix for cachevol LVs
The "-cvol" suffix on the uuid is interfering with
activation code, so drop the suffix for now.
Diffstat (limited to 'lib/misc')
-rw-r--r-- | lib/misc/lvm-string.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/misc/lvm-string.c b/lib/misc/lvm-string.c index 4034b405d..bb6621485 100644 --- a/lib/misc/lvm-string.c +++ b/lib/misc/lvm-string.c @@ -157,7 +157,6 @@ static const char *_lvname_has_reserved_component_string(const char *lvname) "_cdata", "_cmeta", "_corig", - "_cvol", "_wcorig", "_mimage", "_mlog", @@ -254,7 +253,6 @@ char *build_dm_uuid(struct dm_pool *mem, const struct logical_volume *lv, (lv_is_cache(lv) && lv_is_pending_delete(lv)) ? "real" : lv_is_cache_pool_data(lv) ? "cdata" : lv_is_cache_pool_metadata(lv) ? "cmeta" : - lv_is_cache_vol(lv) ? "cvol" : // FIXME: dm-tree needs fixes for mirrors/raids //lv_is_mirror_image(lv) ? "mimage" : //lv_is_mirror_log(lv) ? "mlog" : |