From patchwork Fri Feb 2 15:47:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 126741 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp757740ljc; Fri, 2 Feb 2018 07:47:33 -0800 (PST) X-Google-Smtp-Source: AH8x226mnmkAd8jEwX+ODb91U1aMarlkOoQBeOFOhxZ5TsbhpwXReA1xob9yp+5rabztJ+uQ9uze X-Received: by 10.98.237.6 with SMTP id u6mr40957999pfh.190.1517586453279; Fri, 02 Feb 2018 07:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517586453; cv=none; d=google.com; s=arc-20160816; b=RQxocUAH8yRYfqWNX/6H3yXHIWRTGG1qUTov9B++YXkkje64w2LJOf/4wyDntZvwrc Im8P4mZFz0c0Iiq0WuUeumoqq7PAiZLdFkE3q3S1HM9FUBd61dklhwSPql2vbpvSUEJh UIe/Z16XNhT6c+0vX0T1IcWYZSZ5SHBawV64t/M1W5dT+9J3tcgztrDO7xJ9HfRjw1jt Ge6icL2H6Y5XGj2qeVUQ8zarYhLWNxe9RD2ozQyJ8OicpQwVCX8eAFqIb3HG8bBkevo8 0E3cAjH9W6LSn2FvyulbREO0qMXr9DyBAMQLK/YHTE3uF5jEHxQbq7uoVGGGgww1TYzW GvVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0pohAj+6rlTn/Fe5XCYqygYFKrleqViy6BdnwXBH0Ys=; b=Lbmzt4szHKKtHFzeGCIbfREjrcx1EEjz5ybOESUvJSu3XSt/F/ynYId0l/M1DCTy6g 47Wds7JNQcdA2xwlKdThfNe/qU7lJ8fg+yZvEEn3BJ/BCjB8oJuqOI/F9kEO44KAD/HK ftLlANdSUHd4l0EyGNypGK0sK+M6NEhhbPR9qlQxbGztWPcoQRZbtQxF2qMkCzRuCdRg h7VeqDfClFNGAPuzTEFqh8VC/B60i4l9QcfUdoVJKcuxxEYE/iqk/I9PsuoVO4DnckC8 UA4X7X4F56Hg57LBfX7AwfN8+gy2cDp9i7KPxnXsrIKctEygVS4E6Yk+oSSzAqDf8a9I 2vug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70-v6si2025938ple.246.2018.02.02.07.47.33; Fri, 02 Feb 2018 07:47:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbeBBPrc (ORCPT + 28 others); Fri, 2 Feb 2018 10:47:32 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:54837 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbeBBPrX (ORCPT ); Fri, 2 Feb 2018 10:47:23 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MJCME-1ekORS11Gk-002ki1; Fri, 02 Feb 2018 16:47:08 +0100 From: Arnd Bergmann To: Christoph Hellwig Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] vxfs: fix building with LTO Date: Fri, 2 Feb 2018 16:47:01 +0100 Message-Id: <20180202154706.1624997-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:CokESm8dCIvopzcdBhgorOOTK5BPyuYQv8xbHBe32qaDtOQc+MS Xr44MVM+3jXhSbPO9dNMAcZon/dTRlo0NDsHfyxrS8vOPguXu7zgavgiwzwnykKW9+2YORw NpKJsMQWsmE080w+tTzPgdbgteZcvCTcy5wpUfhGK7Dz/178snnQJW5RzN3bbXFKQ6YymOc yl1RKlE5DYow7BrHugbbQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:QironpDZpJg=:NeivasZHj8IfetJEVtyvuC Drqwye2S5rBqPwXRKc2GUDqhnetmrUhR5pgWiYxAuV3HAkm3pRwVm0qF2YZ0S75RFZMuVGyfo BlRPNSjwDLshP2fJuXJDKF0txrD+JOKk+AaWBqliambJIAS3fykD5i6Z/wecf40KVnEKAfwAf 8gI0WeYh2RKUAOp7YuhyRAWalrK0ha7/foSneKaVJeekwNJUAcA9du2w/9A2W3prmJLgVfR3M WiBdCAbPcs34fMjjo/SoMq9Ht60zeJZWhi6v4ExEiX5fOaYiqn3hLbZQfEbdqC+Ll+iSguX11 mvfjn2rgUZRecuIq8G5+FX36kT/VtPLusvr/ENtSbXp5nCv3noSdRBHdJ/TJ2BQ2zw72MNRnQ WTLX2NMFuPUSwYq1eamrI/iRmYYG82IVepB98nC6mMngFPp85ZMayUV8rDUMI2dN12FqJ2HV5 YmX8a2jeDk3hJ1pIHa/PE1E9B2rxhOM8pCQYtG+Z5YFeKvN32W97zHF/+EyrSXJVnRATt4AHx 48uMFlRFw6mHMmbSYMc0RhSn+gSbfCRHPeLT3DXzHZT36zGAPxw4OMptRorAfxCFzVnBso2Cn Xk+sjJD58HQiG2cfxexLx7bjDpPS1jW8Dxv2H2QR+syl/y0tCmXRVor4Ll8lTfUF5IZKHuPvd nqki2u7m3YRZzrof2aOTnG878d0Zc1kmeou+xSg5ULUUb3z+pkgwk4bkagxDmSd29FlSkeXTf QbTQy2ARYrKQdXmAuqCDOE8dW2XS9Gga/e+POA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When link-time optimizations are enabled, vxfs fails to build: fs/freevxfs/vxfs_lookup.c: In function 'vxfs_readdir': fs/freevxfs/vxfs_subr.c:50:1: error: inlining failed in call to always_inline 'vxfs_put_page': function not declared inline and code size would grow vxfs_put_page(struct page *pp) ^ fs/freevxfs/vxfs_lookup.c:291:3: note: called from here vxfs_put_page(pp); ^ fs/freevxfs/vxfs_inode.c: In function '__vxfs_iget': fs/freevxfs/vxfs_subr.c:50:1: error: inlining failed in call to always_inline 'vxfs_put_page': function not declared inline and code size would grow fs/freevxfs/vxfs_lookup.c: In function 'vxfs_lookup': fs/freevxfs/vxfs_subr.c:50:1: error: inlining failed in call to always_inline 'vxfs_put_page': function not declared inline and code size would grow This removes the 'inline' annotation that obviously doesn't do much anyway. Signed-off-by: Arnd Bergmann --- fs/freevxfs/vxfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Reviewed-by: Christoph Hellwig diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c index e806694d4145..8e213cce586f 100644 --- a/fs/freevxfs/vxfs_subr.c +++ b/fs/freevxfs/vxfs_subr.c @@ -46,7 +46,7 @@ const struct address_space_operations vxfs_aops = { .bmap = vxfs_bmap, }; -inline void +void vxfs_put_page(struct page *pp) { kunmap(pp);