1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-03 17:47:44 +03:00

Insert a missing hash_remove.

This commit is contained in:
Alasdair Kergon 2002-01-21 19:04:13 +00:00
parent 01cd5c84d6
commit 7251348507

View File

@ -142,6 +142,8 @@ void vgcache_destroy_entry(struct vgname_entry *vgn)
while (pvdh != &vgn->pvdevs) {
pvdev = list_item(pvdh, struct pvdev_list);
pvdh = pvdh->n;
if (_pvhash)
hash_remove(_pvhash, dev_name(pvdev->dev));
dbg_free(pvdev);
}
dbg_free(vgn->vgname);