1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00

report: also report linear and striped for lv_target_type

This commit is contained in:
Peter Rajnoha 2014-07-10 16:41:42 +02:00
parent d169ff1e03
commit 3063b48602

View File

@ -1590,6 +1590,10 @@ static int _lvtargettype_disp(struct dm_report *rh, struct dm_pool *mem,
target_type = "snapshot";
else if (lv_is_virtual(lv))
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);
}