]> sourceware.org Git - lvm2.git/commitdiff
raid: Drop unnecessary/incorrect use of dm_pool_free
authorAlasdair G Kergon <agk@redhat.com>
Tue, 23 May 2017 00:51:04 +0000 (01:51 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 23 May 2017 00:51:04 +0000 (01:51 +0100)
lib/metadata/raid_manip.c

index 005075c7d325bfebd2b2bf00bb32f0193390ef43..e0e988c442436a9a6319b6bfe0fab13c61b5135b 100644 (file)
@@ -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;
 }
 
This page took 0.036896 seconds and 5 git commands to generate.