This is the second part of fixing FS_UUID on sparc64. Strangely, the FS_UUID close handler was empty. This leaks the parent disk and device object.
Fix by calling grub_disk_close() on the appropriate object. 2009-04-23 David S. Miller <da...@davemloft.net> * disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close() on disk->data. --- disk/fs_uuid.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/disk/fs_uuid.c b/disk/fs_uuid.c index 125d29b..9d83bb8 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 -- 1.6.2.4 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel