From 5c6f9bc1567d6e3364a623a963088f9a3f1e1348 Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Tue, 20 Nov 2018 12:37:01 +0000 Subject: [PATCH] generic/blocklist: Fix implicit declaration of function grub_file_filter_disable_compression() grub_file_filter_disable_compression() no longer exists. Signed-off-by: Lee Jones Reviewed-by: Daniel Kiper --- grub-core/osdep/generic/blocklist.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/grub-core/osdep/generic/blocklist.c b/grub-core/osdep/generic/blocklist.c index 74024fd06..ea2a511b6 100644 --- a/grub-core/osdep/generic/blocklist.c +++ b/grub-core/osdep/generic/blocklist.c @@ -59,8 +59,7 @@ grub_install_get_blocklist (grub_device_t root_dev, grub_disk_cache_invalidate_all (); - grub_file_filter_disable_compression (); - file = grub_file_open (core_path_dev); + file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS); if (file) { if (grub_file_size (file) != core_size) @@ -117,8 +116,7 @@ grub_install_get_blocklist (grub_device_t root_dev, grub_file_t file; /* Now read the core image to determine where the sectors are. */ - grub_file_filter_disable_compression (); - file = grub_file_open (core_path_dev); + file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS); if (! file) grub_util_error ("%s", grub_errmsg);