From 1fd08bf111bcc35177eb0dc411dc052bdec7a058 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 14 Nov 2010 14:13:11 +0100 Subject: [PATCH] * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes LVM on RAID support. --- ChangeLog | 5 +++++ grub-core/disk/lvm.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index e87dd9ff4..b0ee0d012 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-14 Vladimir Serbinenko + + * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes + LVM on RAID support. + 2010-11-14 Vladimir Serbinenko Properly define WORDS_BIGENDIAN in wrapped environments. diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c index d2d2f620b..39fa84d91 100644 --- a/grub-core/disk/lvm.c +++ b/grub-core/disk/lvm.c @@ -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. */ }