From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gP6Cq-0005Y1-R3 for mharc-grub-devel@gnu.org; Tue, 20 Nov 2018 08:36:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP5HC-0002dQ-KH for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP5H7-00082Z-59 for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:10 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:33885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP5H6-00081y-Tx for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:05 -0500 Received: by mail-wr1-x441.google.com with SMTP id j2so1819196wrw.1 for ; Tue, 20 Nov 2018 04:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=sLQqiHsbjeEHxQ2rOWMEULTRu68V8bJFu5mCHDtr3rE=; b=ikk6e+Yq2Z0X7TBgQdAPxQ4u6isoSumIXLSq6mJws9m3lykEXpXw1NyrRdCgyazsi3 IqJbrbO1sQzFlzV0f7B4RhDNg8VyDaiV2jd97XjPTffug2SyfccokGy7e5tDk1YYyo3x Zqdg4J8LG4/3mf7/AknUMAvOD5l/zs929mO30= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=sLQqiHsbjeEHxQ2rOWMEULTRu68V8bJFu5mCHDtr3rE=; b=tibi3Z3CepewqRKAB5cOu4eDu8dG2WhuZIqIfFj3JbpaqwiimZmwPKuurvwjlEGv/k i54VSV0YFyxpup6VVXU12JUHcE97xzztbhqd3grFWTB8P2KHqnO/Vb67nYwlLkzMYVKY 8H6fxgzF5mVt02OXAgSAIkMcNcZRcbw+8p3rzRDo4B4S+BEc8R0XYlRMk2Y0fyBbaupl e9GS6phzm0/VJD8OSTH9DmMLcj6vzm01TgeFHIZ8MlhKdMGlvIMZq9y1n9hoNo+SM7vc bJjKAfWiLdL/gTSV5sZq6E+TW3ECrMJKW1RoS0s+6AnTLkwYoxJkt2kb7EmVhYhYrSx1 0s+A== X-Gm-Message-State: AA+aEWY8XMPVvFdhGcvIOGBJrybjDrMAl4fA68bpK2U367MPlcyRcPjC aSmyw9Y7+Fn33hlPTqMmHcAI9Q== X-Google-Smtp-Source: AFSGD/UYtVDaUL46m+ViapljZ9rPLIdrA93TuYwjj009Mf7occrBekPudl0MD4YAs/M/EumcmmSzeA== X-Received: by 2002:adf:f2c6:: with SMTP id d6mr1748254wrp.37.1542717423579; Tue, 20 Nov 2018 04:37:03 -0800 (PST) Received: from dell ([2.31.167.205]) by smtp.gmail.com with ESMTPSA id k5-v6sm66501455wre.82.2018.11.20.04.37.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Nov 2018 04:37:02 -0800 (PST) Date: Tue, 20 Nov 2018 12:37:01 +0000 From: Lee Jones To: Daniel Kiper Cc: Fu Wei Fu , Leif Lindholm , The development of GNU GRUB , Julien Grall Subject: [PATCH v3 (part 2)] =?utf-8?Q?generic=2Fbl?= =?utf-8?Q?ocklist=3A_Fix_implicit_declaration_of_function_=E2=80=98grub?= =?utf-8?Q?=5Ffile=5Ffilter=5Fdisable=5Fcompression'?= Message-ID: <20181120123701.GW3513@dell> References: <20181114192919.24655-1-leif.lindholm@linaro.org> <20181116140737.wuox7v63y6lt2ymt@tomti.i.net-space.pl> <20181120104656.GN3513@dell> <20181120113819.GS3513@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181120113819.GS3513@dell> User-Agent: Mutt/1.9.4 (2018-02-28) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-Mailman-Approved-At: Tue, 20 Nov 2018 08:36:40 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 12:37:11 -0000 From: Lee Jones 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 diff --git a/grub-core/osdep/generic/blocklist.c b/grub-core/osdep/generic/blocklist.c index 74024fd06..43186949d 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, 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, FILE_TYPE_NO_DECOMPRESS); if (! file) grub_util_error ("%s", grub_errmsg);