diff --git a/ChangeLog b/ChangeLog index d32bc2dfc..19e43f953 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ and use it to build a list of partitions in interate_disk() and iterate_partition(). + * disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close() + on disk->data. + 2009-04-23 David S. Miller * kern/sparc64/ieee1275/openfw.c: Unused, delete. diff --git a/disk/fs_uuid.c b/disk/fs_uuid.c index 125d29b21..9d83bb843 100644 --- a/disk/fs_uuid.c +++ b/disk/fs_uuid.c @@ -97,6 +97,8 @@ grub_fs_uuid_open (const char *name, grub_disk_t disk) static void grub_fs_uuid_close (grub_disk_t disk __attribute((unused))) { + grub_disk_t parent = disk->data; + grub_disk_close (parent); } static grub_err_t