mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Insert a missing hash_remove.
This commit is contained in:
parent
75e4d06ade
commit
c490c2f281
@ -142,6 +142,8 @@ void vgcache_destroy_entry(struct vgname_entry *vgn)
|
|||||||
while (pvdh != &vgn->pvdevs) {
|
while (pvdh != &vgn->pvdevs) {
|
||||||
pvdev = list_item(pvdh, struct pvdev_list);
|
pvdev = list_item(pvdh, struct pvdev_list);
|
||||||
pvdh = pvdh->n;
|
pvdh = pvdh->n;
|
||||||
|
if (_pvhash)
|
||||||
|
hash_remove(_pvhash, dev_name(pvdev->dev));
|
||||||
dbg_free(pvdev);
|
dbg_free(pvdev);
|
||||||
}
|
}
|
||||||
dbg_free(vgn->vgname);
|
dbg_free(vgn->vgname);
|
||||||
|
Loading…
Reference in New Issue
Block a user