master - report: also report linear and striped for lv_target_type
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3063b48602220b0aa5e1ad7a91dc4ca60d717e36 Commit: 3063b48602220b0aa5e1ad7a91dc4ca60d717e36 Parent: d169ff1e039ecdfb1efac0a6464ca149d71d8767 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Jul 10 16:41:42 2014 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Jul 10 16:41:42 2014 +0200
report: also report linear and striped for lv_target_type
--- lib/report/report.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
lib/report/report.c +4 -0
@@ -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); }