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

"David S. Miller" <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2136
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2136
Author:   davem
Date:     2009-04-24 12:05:14 +0000 (Fri, 24 Apr 2009)
Log Message:
-----------
	* disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close()
	on disk->data.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/fs_uuid.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-24 12:04:10 UTC (rev 2135)
+++ trunk/grub2/ChangeLog	2009-04-24 12:05:14 UTC (rev 2136)
@@ -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  <[email protected]>
 
 	* kern/sparc64/ieee1275/openfw.c: Unused, delete.

Modified: trunk/grub2/disk/fs_uuid.c
===================================================================
--- trunk/grub2/disk/fs_uuid.c	2009-04-24 12:04:10 UTC (rev 2135)
+++ trunk/grub2/disk/fs_uuid.c	2009-04-24 12:05:14 UTC (rev 2136)
@@ -97,6 +97,8 @@
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.