diff options
author | Håkan Johansson <[email protected]> | 2016-10-17 20:46:35 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-10-17 11:46:35 -0700 |
commit | fea33e4e5010e209a4d05fa3f59b7155859e1593 (patch) | |
tree | c6ed9ef0d58a775ecb57659c54fb9edd1b5542a4 /rpm | |
parent | 7e8a2d0b755ea67291d3f576069706e43abc5e31 (diff) |
Pass status_cbdata_t to print_status_config() and friends
First rename spare_cbdata_t cb -> spare_cb in print_status_config(),
to free up cb.
Using the structure removes the explicit parameters namewidth
and name_flags from several functions. Also use status_cbdata_t
for print_import_config(). This simplifies print_logs().
Remove the parameter 'verbose' for print_logs(). It does not really
mean verbose, it selected between the print_status_config and
print_import_config() paths. This selection is now done by
cb_print_config of spare_cbdata_t.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Håkan Johansson <[email protected]>
Closes #5259
Diffstat (limited to 'rpm')
0 files changed, 0 insertions, 0 deletions