Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932939AbcCMVBF (ORCPT ); Sun, 13 Mar 2016 17:01:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57560 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932857AbcCMVAz (ORCPT ); Sun, 13 Mar 2016 17:00:55 -0400 From: Denys Vlasenko To: Al Viro Cc: Denys Vlasenko , Jens Axboe , Christoph Hellwig , linux-kernel@vger.kernel.org Subject: [PATCH] direct-io: Deinline dio_zero_block, save 2684 bytes Date: Sun, 13 Mar 2016 22:00:35 +0100 Message-Id: <1457902836-30786-2-git-send-email-dvlasenk@redhat.com> In-Reply-To: <1457902836-30786-1-git-send-email-dvlasenk@redhat.com> References: <1457902836-30786-1-git-send-email-dvlasenk@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 30 This function compiles to 2684 bytes, 2 callsites text data bss dec hex filename 9655 16 0 9671 25c7 direct-io.o.before2 9559 16 0 9575 2567 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 21ec685..729c902 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -857,7 +857,7 @@ static void clean_blockdev_aliases(struct dio *dio, struct buffer_head *map_bh) * `end' is zero if we're doing the start of the IO, 1 at the end of the * IO. */ -static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio, +static void dio_zero_block(struct dio *dio, struct dio_submit *sdio, int end, struct buffer_head *map_bh) { unsigned dio_blocks_per_fs_block; -- 1.8.1.4