Skip to contentSkip to conversation

LVM: agk allocation changes

PATCH New Jonathan Brassow 1 participant 1 message Feb 26, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LVM: agk allocation changes

Patch name: lvm-agk-allocation-changes.patch

agk's allocation changes...

lib/metadata/lv_alloc.h +1 -2
Index: LVM2/lib/metadata/lv_alloc.h
===================================================================
@@ -58,8 +58,7 @@ int lv_add_segment(struct alloc_handle *
                    const struct segment_type *segtype,
                    uint32_t stripe_size,
                    uint64_t status,
-		   uint32_t region_size,
-                   struct logical_volume *log_lv);
+		   uint32_t region_size);
 
 int lv_add_mirror_areas(struct alloc_handle *ah,
 			struct logical_volume *lv, uint32_t le,
lib/metadata/lv_manip.c +128 -138

520 lines not on this page · raw message

lib/metadata/mirror.c +1 -1
Index: LVM2/lib/metadata/mirror.c
===================================================================
@@ -1202,7 +1202,7 @@ static int _create_mimage_lvs(struct all
 		if (!lv_add_segment(ah, m, 1, img_lvs[m],
 				    get_segtype_from_string(lv->vg->cmd,
 							    "striped"),
-				    0, 0, 0, NULL)) {
+				    0, 0, 0)) {
 			log_error("Aborting. Failed to add mirror image segment "
 				  "to %s. Remove new LV and retry.",
 				  img_lvs[m]->name);