On 03/06/2018 12:14 AM, Martin Wilck wrote: > Introduce new functions _get_path_layout and _get_multipath_layout > using the new "generic" API to determine field widths, and map the > old API to them. > > Furthermore, replace the boolean "header" by an enum with 3 possible > values. The new value LAYOUT_RESET_NOT allows calling the get_x_layout > function several times and determine the overall field width. > > Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> > Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> > --- > libmultipath/print.c | 73 ++++++++++++++++++++++++++++++++++++++++------------ > libmultipath/print.h | 8 ++++++ > 2 files changed, 65 insertions(+), 16 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel