]> sourceware.org Git - lvm2.git/commit
Add pvcreate_params to vg_extend_single_pv.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 5 Oct 2009 20:02:30 +0000 (20:02 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 5 Oct 2009 20:02:30 +0000 (20:02 +0000)
commit839af3e90eccf5398d0936906d690bcb7f26d48e
tree3f26873e25c99ab756db73d83b0aeaf1497bb0a6
parentc059cdd0f2dd8a7f0701fb110b6c36eeb810f94a
Add pvcreate_params to vg_extend_single_pv.

Should be no functional change.  If this parameter is set to NULL, just fail
the extend if the device is not already a PV.  If non-NULL, try pvcreate_single
before failing.  Note that pvcreate_single() handles the log_error in case
of failure so we just return 0 if pvcreate_single() fails.
lib/metadata/metadata.c
This page took 0.038233 seconds and 5 git commands to generate.