Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932829AbcCMVAx (ORCPT ); Sun, 13 Mar 2016 17:00:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34690 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752875AbcCMVAp (ORCPT ); Sun, 13 Mar 2016 17:00:45 -0400 From: Denys Vlasenko To: Al Viro Cc: Denys Vlasenko , Jens Axboe , Christoph Hellwig , linux-kernel@vger.kernel.org Subject: [PATCH] direct-io: Deinline submit_page_section, save 5304 bytes Date: Sun, 13 Mar 2016 22:00:34 +0100 Message-Id: <1457902836-30786-1-git-send-email-dvlasenk@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 13 Mar 2016 21:00:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 30 This function compiles to 2628 bytes, 2 callsites text data bss dec hex filename 15197 16 0 15213 3b6d direct-io.o.before1 9655 16 0 9671 25c7 direct-io.o Signed-off-by: Denys Vlasenko CC: Al Viro CC: Jens Axboe CC: Christoph Hellwig CC: linux-kernel@vger.kernel.org --- fs/direct-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index d6a9012..21ec685 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -774,7 +774,7 @@ out: * If that doesn't work out then we put the old page into the bio and add this * page to the dio instead. */ -static inline int +static int submit_page_section(struct dio *dio, struct dio_submit *sdio, struct page *page, unsigned offset, unsigned len, sector_t blocknr, struct buffer_head *map_bh) -- 1.8.1.4