LVM2/tools vgreduce.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2009-07-24 11:13:36
Modified files:
tools : vgreduce.c
Log message:
Remove redundant validate_name in vgreduce.
This check is now done in vg_read_for_update, thanks to mornfall. Should be no functional change.
Author: Dave Wysochanski <[email protected]>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgreduce.c.diff?cvsroot=lvm2&r1=1.96&r2=1.97
tools/vgreduce.c +0 -6
@@ -502,12 +502,6 @@ argv++; argc--; -if (!validate_name (vg_name)) { -log_error ("Volume group name \"%s\" is invalid" , - vg_name); -return ECMD_FAILED ; - } -log_verbose ("Finding volume group \"%s\"" , vg_name);if (repairing) {