]> sourceware.org Git - lvm2.git/commit
toollib: select the whole structure if at least one of its items is selected
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 3 Dec 2014 13:20:00 +0000 (14:20 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 10 Feb 2015 15:05:32 +0000 (16:05 +0100)
commitde273247118a9183eb8ba6a4615699edcb49dc2d
treeef8d8e2626f92c7d827b7db57a4f0d79afb3c026
parent56011918e66adf1f639436fd6781a89ad61eb8f4
toollib: select the whole structure if at least one of its items is selected

This applies to:
  - process_each_lv_in_vg - the VG is selected only if at least one of its LVs is selected
  - process_each_segment_in_lv - the LV is selected only if at least one of its LV segments is selected
  - process_each_pv_in_vg - the VG is selected only if at least one of its PVs is selected
  - process_each_segment_in_pv - the PV is selected only if at least one of its PV segments is selected

So this patch causes the selection result to be properly propagated up to callers.
tools/toollib.c
This page took 0.035443 seconds and 5 git commands to generate.