Skip to contentSkip to conversation

LVM2/lib/metadata raid_manip.c

PATCH [email protected] 1 participant 1 message Aug 19, 2011

lore
Share & tools
lore
#0 lore raw

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

lib/metadata/raid_manip.c +2 -2
@@ -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))