From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: [PATCH 24/24] uninline walk_component() Date: Mon, 20 Apr 2015 19:13:08 +0100 Message-ID: <1429553588-24764-24-git-send-email-viro@ZenIV.linux.org.uk> References: <20150420181222.GK889@ZenIV.linux.org.uk> Cc: Neil Brown , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: In-Reply-To: <20150420181222.GK889@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org From: Al Viro seriously improves the stack *and* I-cache footprint... Signed-off-by: Al Viro --- fs/namei.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index f1ec430..80edea9 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1595,8 +1595,7 @@ static inline int should_follow_link(struct dentry *dentry, int follow) return unlikely(d_is_symlink(dentry)) ? follow : 0; } -static inline int walk_component(struct nameidata *nd, struct path *path, - int follow) +static int walk_component(struct nameidata *nd, struct path *path, int follow) { struct inode *inode; int err; -- 2.1.4