1
0
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:
Alasdair Kergon 2002-01-21 19:04:13 +00:00
parent 75e4d06ade
commit c490c2f281

View File

@ -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);