1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Peter Rajnoha 66b10d6d12 cleanup: replace static struct processing_handle initializer with common init_processing_handle
It's cleaner this way - do not mix static and dynamic
(init_processing_handle) initializers. Use the dynamic one everywhere.
This makes it easier to manage the code - there are no "exceptions"
then and we don't need to take care about two ways of initializing the
same thing - just use one common initializer throughout and it's clear.

Also, add more comments, mainly in the report_for_selection fn explaining
what is being done and why with respect to the processing_handle and
selection_handle.
2015-02-13 11:26:57 +01:00
..
columns-devtypes.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00
columns.h report: define ba_start, vg_free and seg_start fields as DM_REPORT_FIELD_TYPE_SIZE instead of DM_REPORT_FIELD_TYPE_NUM 2015-02-11 13:57:18 +01:00
properties.c properties: also recognize LVSINFO, LVSSTATUS and LVSINFOSTATUS as subtypes of LVS 2015-01-30 11:13:49 +01:00
properties.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
report.c report: add report_init_for_selection fn and modify report_object to support reporting for selection only 2015-02-10 16:05:25 +01:00
report.h cleanup: replace static struct processing_handle initializer with common init_processing_handle 2015-02-13 11:26:57 +01:00
values.h report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00