mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-30 01:47:56 +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) {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user