]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close()
authordavem <davem@localhost>
Fri, 24 Apr 2009 12:05:14 +0000 (12:05 +0000)
committerdavem <davem@localhost>
Fri, 24 Apr 2009 12:05:14 +0000 (12:05 +0000)
on disk->data.

ChangeLog
disk/fs_uuid.c

index d32bc2dfc1fc033de1a53dec2fca7ec9fa133a9c..19e43f953a88ab394b377ed2e4a64e27ff634a5a 100644 (file)
--- 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  <davem@davemloft.net>
 
        * kern/sparc64/ieee1275/openfw.c: Unused, delete.
index 125d29b21c14199e99b6154d9c94455b66c7204d..9d83bb8438879b2fc9679462cf46ae5662ef56d7 100644 (file)
@@ -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