* disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close()

on disk->data.
This commit is contained in:
davem 2009-04-24 12:05:14 +00:00
parent 0d31250038
commit ac20caff54
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,9 @@
and use it to build a list of partitions in interate_disk() and and use it to build a list of partitions in interate_disk() and
iterate_partition(). iterate_partition().
* disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close()
on disk->data.
2009-04-23 David S. Miller <davem@davemloft.net> 2009-04-23 David S. Miller <davem@davemloft.net>
* kern/sparc64/ieee1275/openfw.c: Unused, delete. * kern/sparc64/ieee1275/openfw.c: Unused, delete.

View file

@ -97,6 +97,8 @@ grub_fs_uuid_open (const char *name, grub_disk_t disk)
static void static void
grub_fs_uuid_close (grub_disk_t disk __attribute((unused))) grub_fs_uuid_close (grub_disk_t disk __attribute((unused)))
{ {
grub_disk_t parent = disk->data;
grub_disk_close (parent);
} }
static grub_err_t static grub_err_t