Version 2.02.73 -
================================
+ Require logical volume(s) to be explicitly named for lvconvert --merge.
Avoid changing aligned pe_start as a side-effect of very verbose logging.
Fix 'void*' arithmetic warnings in dbg_malloc.c.
Fix 'void*' arithmetic warning in some functions from libdm-iface.c.
# now that snapshot LV is created: test if snapshot-merge target is available
$(dmsetup targets | grep -q snapshot-merge) || exit 200
lvs -a
+# make sure lvconvert --merge requires explicit LV listing
+not lvconvert --merge 2>err
lvconvert --merge $vg/$(snap_lv_name_ $lv1)
lvremove -f $vg/$lv1
return EINVALID_CMD_LINE;
}
- if (lp.merge)
+ if (lp.merge) {
+ if (!argc) {
+ log_error("Please provide logical volume path");
+ return EINVALID_CMD_LINE;
+ }
return process_each_lv(cmd, argc, argv, READ_FOR_UPDATE, &lp,
&lvconvert_merge_single);
+ }
return lvconvert_single(cmd, &lp);
}