mirror of
				git://sourceware.org/git/lvm2.git
				synced 2025-11-03 08:23:48 +03:00 
			
		
		
		
	Rename fill_vg_create_params to vgcreate_params_set_from_args.
Rename fill_vg_create_params to vgcreate_params_set_from_args and remove vg_name parameter from function (caller must set before calling function).
This commit is contained in:
		@@ -46,7 +46,8 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	vgcreate_params_set_defaults(&vp_def, NULL);
 | 
			
		||||
	if (fill_vg_create_params(cmd, vg_name, &vp_new, &vp_def))
 | 
			
		||||
	vp_def.vg_name = vg_name;
 | 
			
		||||
	if (vgcreate_params_set_from_args(cmd, &vp_new, &vp_def))
 | 
			
		||||
		return EINVALID_CMD_LINE;
 | 
			
		||||
 | 
			
		||||
	if (validate_vg_create_params(cmd, &vp_new))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user