[lvm-devel] LVM2/lib/metadata raid_manip.c
agk at sourceware.org
agk at sourceware.org
Fri Aug 19 19:35:51 UTC 2011
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-08-19 19:35:50
Modified files:
lib/metadata : raid_manip.c
Log message:
clarify comment
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/raid_manip.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11
--- LVM2/lib/metadata/raid_manip.c 2011/08/19 15:59:15 1.10
+++ LVM2/lib/metadata/raid_manip.c 2011/08/19 19:35:50 1.11
@@ -220,7 +220,7 @@
lv->vg->name, lv->name);
/*
* Rather than wiping lv->size, we can simply
- * wipe '1' to remove the superblock of any previous
+ * wipe the first sector to remove the superblock of any previous
* RAID devices. It is much quicker.
*/
if (!set_lv(lv->vg->cmd, lv, 1, 0)) {
@@ -572,7 +572,7 @@
return 1;
fail:
- /* Cleanly remove newly allocated LVs that failed insertion attempt */
+ /* Cleanly remove newly-allocated LVs that failed insertion attempt */
dm_list_iterate_items(lvl, &meta_lvs)
if (!lv_remove(lvl->lv))
More information about the lvm-devel
mailing list