From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbcGUGUb (ORCPT ); Thu, 21 Jul 2016 02:20:31 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34940 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058AbcGUGU2 (ORCPT ); Thu, 21 Jul 2016 02:20:28 -0400 Date: Thu, 21 Jul 2016 09:20:24 +0300 From: Alexey Dobriyan To: viro@zeniv.linux.org.uk Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs: uninline build_open_flags() Message-ID: <20160721062023.GA30639@p183.telecom.by> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Saves ~450 bytes with my usual config. $ size vmlinux-000 vmlinux text data bss dec hex filename 6752803 3325000 708608 10786411 a4966b vmlinux-000 6752355 3325000 708608 10785963 a494ab vmlinux Signed-off-by: Alexey Dobriyan --- fs/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/open.c +++ b/fs/open.c @@ -880,7 +880,7 @@ struct file *dentry_open(const struct path *path, int flags, } EXPORT_SYMBOL(dentry_open); -static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) +static int build_open_flags(int flags, umode_t mode, struct open_flags *op) { int lookup_flags = 0; int acc_mode = ACC_MODE(flags);