1
0
mirror of git://sourceware.org/git/lvm2.git synced 2026-01-21 12:32:46 +03:00

report: select: add DM_REPORT_FIELD_TYPE_STRING_LIST to make a difference between STRING and STRING_LIST

The {pv,vg,lv,seg}_tags and lv_modules fields are reported as string
lists using the new dm_report_field_string_list - so we just pass
the list to the fn that takes care of reporting and item sorting itself.
This commit is contained in:
Peter Rajnoha
2014-05-29 09:41:36 +02:00
parent 76467bdcfd
commit a6694cfc29
6 changed files with 32 additions and 23 deletions

View File

@@ -123,6 +123,7 @@ static int _ ## NAME ## _get (const void *obj, struct lvm_property_type *prop) \
#define STR 1
#define NUM 2
#define SIZ 3
#define STR_LIST 4
#define FIELD_MODIFIABLE 0x00000001
#define FIELD(type, strct, field_type, head, field, width, fn, id, desc, settable) \