Skip to contentSkip to conversation

master - raid: Drop unnecessary/incorrect use of dm_pool_free

PATCH Alasdair Kergon 1 participant 1 message May 23, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=57492a609410c39809960a6f32bf67e1eddb7064
Commit:        57492a609410c39809960a6f32bf67e1eddb7064
Parent:        fbe7464df5018d8ab85dd312fae8c13796eca59d
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Tue May 23 01:51:04 2017 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Tue May 23 01:51:04 2017 +0100

raid: Drop unnecessary/incorrect use of dm_pool_free

---
 lib/metadata/raid_manip.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
lib/metadata/raid_manip.c +0 -3
index 005075c..e0e988c 100644
@@ -4781,9 +4781,6 @@ static int _rename_area_lvs(struct logical_volume *lv, const char *suffix)
 			return_0;
 	}
 
-	for (s = 0; s < SLV_COUNT; s++)
-		dm_pool_free(lv->vg->cmd->mem, sfx[s]);
-
 	return 1;
 }