diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-05-03 11:46:28 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-06-20 11:33:42 +0200 |
commit | 8cfc385491484e71d66e5991e09c3d0a47570a13 (patch) | |
tree | dcdfe6d9c87669289a8ac2f334eaf566353018bf /tools/vgimport.c | |
parent | 31aaa3be71597ec53262177bea76365605e9199f (diff) | |
download | lvm2-8cfc385491484e71d66e5991e09c3d0a47570a13.tar.gz |
toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn
The lvm fullreport works per VG and as such, the vg, lv, pv, seg and
pvseg subreport is done for each VG. However, if the PV is not part of
any VG yet, we still want to display pv and pvseg subreports for these
"orphan" PVs - so enable this for lvm fullreport's process_each_vg call.
Diffstat (limited to 'tools/vgimport.c')
-rw-r--r-- | tools/vgimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgimport.c b/tools/vgimport.c index 1f2e14d24..07a889b9a 100644 --- a/tools/vgimport.c +++ b/tools/vgimport.c @@ -109,6 +109,6 @@ int vgimport(struct cmd_context *cmd, int argc, char **argv) return process_each_vg(cmd, argc, argv, NULL, NULL, READ_FOR_UPDATE | READ_ALLOW_EXPORTED, - NULL, + 0, NULL, &vgimport_single); } |