summaryrefslogtreecommitdiffstats
path: root/lib/metadata/raid_manip.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-08-19 19:35:50 +0000
committerAlasdair Kergon <agk@redhat.com>2011-08-19 19:35:50 +0000
commit1d64dcfbf731943b1666b7148760ef95569b4bcb (patch)
tree476c2a70d329d3be2bf52cca8dc5d064004a537b /lib/metadata/raid_manip.c
parentd854bae8a9decd8851707ba8aba418eaebed6ef8 (diff)
downloadlvm2-1d64dcfbf731943b1666b7148760ef95569b4bcb.tar.gz
lvm2-1d64dcfbf731943b1666b7148760ef95569b4bcb.tar.xz
lvm2-1d64dcfbf731943b1666b7148760ef95569b4bcb.zip
clarify comment
Diffstat (limited to 'lib/metadata/raid_manip.c')
-rw-r--r--lib/metadata/raid_manip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index 6208203a..84eae927 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -220,7 +220,7 @@ static int _clear_lv(struct logical_volume *lv)
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 @@ to be left for these sub-lvs.
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))