* grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes

LVM on RAID support.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-11-14 14:13:11 +01:00
parent de1a024fff
commit 1fd08bf111
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes
LVM on RAID support.
2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
Properly define WORDS_BIGENDIAN in wrapped environments.

View file

@ -762,5 +762,6 @@ GRUB_MOD_INIT(lvm)
GRUB_MOD_FINI(lvm)
{
grub_disk_dev_unregister (&grub_lvm_dev);
vg_list = NULL;
/* FIXME: free the lvm list. */
}