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 <lee.jones@linaro.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
25e35377a8
commit
5c6f9bc156
1 changed files with 2 additions and 4 deletions
|
@ -59,8 +59,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
|
||||||
|
|
||||||
grub_disk_cache_invalidate_all ();
|
grub_disk_cache_invalidate_all ();
|
||||||
|
|
||||||
grub_file_filter_disable_compression ();
|
file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS);
|
||||||
file = grub_file_open (core_path_dev);
|
|
||||||
if (file)
|
if (file)
|
||||||
{
|
{
|
||||||
if (grub_file_size (file) != core_size)
|
if (grub_file_size (file) != core_size)
|
||||||
|
@ -117,8 +116,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
|
||||||
|
|
||||||
grub_file_t file;
|
grub_file_t file;
|
||||||
/* Now read the core image to determine where the sectors are. */
|
/* Now read the core image to determine where the sectors are. */
|
||||||
grub_file_filter_disable_compression ();
|
file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS);
|
||||||
file = grub_file_open (core_path_dev);
|
|
||||||
if (! file)
|
if (! file)
|
||||||
grub_util_error ("%s", grub_errmsg);
|
grub_util_error ("%s", grub_errmsg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue