diff options
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | lib/metadata/lv.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Do not report linear segtype for non-striped targets. Keep info about creation host and time for each logical volume. Make error message hit when preallocated memlock memory exceeded clearer. Use R lv_attr to indicate read-only activation of non-read-only device in lvs. diff --git a/lib/metadata/lv.c b/lib/metadata/lv.c index b2176f2a..302fd4a1 100644 --- a/lib/metadata/lv.c +++ b/lib/metadata/lv.c @@ -116,10 +116,6 @@ char *lvseg_tags_dup(const struct lv_segment *seg) char *lvseg_segtype_dup(struct dm_pool *mem, const struct lv_segment *seg) { - if (seg->area_count == 1) { - return (char *)"linear"; - } - return dm_pool_strdup(mem, seg->segtype->ops->name(seg)); } |