]> sourceware.org Git - lvm2.git/commit
toollib: Rewrite process_each_vg.
authorDavid Teigland <teigland@redhat.com>
Fri, 3 Oct 2014 19:47:19 +0000 (20:47 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 3 Oct 2014 19:47:19 +0000 (20:47 +0100)
commitbfb6a4ecc6ad7bb06649ffd026d9c997443dd684
treef7040fcf8d1f01eb0994a7d625c6caa2a76528bc
parent91198ac13e61c66b65884660410311ffc8b8c24e
toollib: Rewrite process_each_vg.

Split VG argument collection from processing.
This allows the two different loops through VGs to
be replaced by a single loop.
Replace unused struct cmd_vg and cmd_vg_read() replicator
code with struct vg and vg_read() directly.

[Committed by agk with cosmetic changes and tweaks.]
WHATS_NEW
tools/toollib.c
This page took 0.035962 seconds and 5 git commands to generate.