summaryrefslogtreecommitdiffstats
path: root/tools/vgextend.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-10-05 20:02:30 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-10-05 20:02:30 +0000
commitacb4073eedfe64c5ee8a4315009a3d7415976530 (patch)
tree3f26873e25c99ab756db73d83b0aeaf1497bb0a6 /tools/vgextend.c
parenta80fc69320071b86d1c1d068f2c33808e298e271 (diff)
downloadlvm2-acb4073eedfe64c5ee8a4315009a3d7415976530.tar.gz
lvm2-acb4073eedfe64c5ee8a4315009a3d7415976530.tar.xz
lvm2-acb4073eedfe64c5ee8a4315009a3d7415976530.zip
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.
Diffstat (limited to 'tools/vgextend.c')
0 files changed, 0 insertions, 0 deletions