1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-07 21:18:59 +03:00

Thin support for lvrename

Rename pool's metadata lv _tmeta together with pool and _tdata.
This commit is contained in:
Zdenek Kabelac 2011-10-28 20:29:32 +00:00
parent b9f1afd47c
commit 22e6256d00

View File

@ -2745,6 +2745,8 @@ int for_each_sub_lv(struct cmd_context *cmd, struct logical_volume *lv,
dm_list_iterate_items(seg, &lv->segments) {
if (seg->log_lv && !fn(cmd, seg->log_lv, data))
return_0;
if (seg->pool_metadata_lv && !fn(cmd, seg->pool_metadata_lv, data))
return_0;
for (s = 0; s < seg->area_count; s++) {
if (seg_type(seg, s) != AREA_LV)
continue;