mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
report: also report linear and striped for lv_target_type
This commit is contained in:
parent
d169ff1e03
commit
3063b48602
@ -1590,6 +1590,10 @@ static int _lvtargettype_disp(struct dm_report *rh, struct dm_pool *mem,
|
|||||||
target_type = "snapshot";
|
target_type = "snapshot";
|
||||||
else if (lv_is_virtual(lv))
|
else if (lv_is_virtual(lv))
|
||||||
target_type = "virtual";
|
target_type = "virtual";
|
||||||
|
else if (lv_is_linear(lv))
|
||||||
|
target_type = "linear";
|
||||||
|
else if (lv_is_striped(lv))
|
||||||
|
target_type = "striped";
|
||||||
|
|
||||||
return _string_disp(rh, mem, field, &target_type, private);
|
return _string_disp(rh, mem, field, &target_type, private);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user