diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2009-10-05 20:02:30 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2009-10-05 20:02:30 +0000 |
commit | acb4073eedfe64c5ee8a4315009a3d7415976530 (patch) | |
tree | 3f26873e25c99ab756db73d83b0aeaf1497bb0a6 /tools/vgextend.c | |
parent | a80fc69320071b86d1c1d068f2c33808e298e271 (diff) | |
download | lvm2-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