From patchwork Tue Jun 30 17:09:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11634407 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45BD7739 for ; Tue, 30 Jun 2020 17:09:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DC00206BE for ; Tue, 30 Jun 2020 17:09:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="n47CiORv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390031AbgF3RJl (ORCPT ); Tue, 30 Jun 2020 13:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387539AbgF3RJk (ORCPT ); Tue, 30 Jun 2020 13:09:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC327C061755 for ; Tue, 30 Jun 2020 10:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=leSTDW7f9bC0IBZuDJDhYDrb/Bwt22T3vmgs89G8kWU=; b=n47CiORvKJxT1xEVBb9TCpG5ic NdzLTX2tOK1wnfDaqGRrP/wtpCGnIqIvmQEUozICzBdOdAzZApaJuUGJEd2155j8WuKl9yBuTz4Bc xDYhHWb8FyAsl1X4ROILkUCiGJM873FzZvjsc21NJpjfufgF8pSbgKNWvmes4rdSuSv+ayWUDtRS7 UtLU91WC2xYoBYQM24Az8TQzscWc4wEbFxuQzX/IJp8eKoO2ivWem/sb/2O5tELa2nvsLp8rqhXaD asU5qVPovgWNvncxGZyeo54RwrZhbLhNQ44PhF3X/FBh32MJsSCsA3XcdVO5Os02soKX8xtaxBF0c ioIa3IOw==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqJl9-0003Kx-Dq; Tue, 30 Jun 2020 17:09:28 +0000 To: Linux FS Devel , Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net From: Randy Dunlap Subject: [PATCH] f2fs: always expose label 'next_page' Message-ID: <020937f3-2947-ca41-c18a-026782216711@infradead.org> Date: Tue, 30 Jun 2020 10:09:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Randy Dunlap Fix build error when F2FS_FS_COMPRESSION is not set/enabled. This label is needed in either case. ../fs/f2fs/data.c: In function ‘f2fs_mpage_readpages’: ../fs/f2fs/data.c:2327:5: error: label ‘next_page’ used but not defined goto next_page; Signed-off-by: Randy Dunlap Cc: Jaegeuk Kim Cc: Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net --- fs/f2fs/data.c | 2 -- 1 file changed, 2 deletions(-) --- linux-next-20200630.orig/fs/f2fs/data.c +++ linux-next-20200630/fs/f2fs/data.c @@ -2366,9 +2366,7 @@ set_error_page: zero_user_segment(page, 0, PAGE_SIZE); unlock_page(page); } -#ifdef CONFIG_F2FS_FS_COMPRESSION next_page: -#endif if (rac) put_page(page);