summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-19 14:48:53 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-11 05:18:29 +0300
commit34b128f31c028a28887c6659e90620727a319b16 (patch)
tree158e2558ed1876d0db3b2defd02e629b78dfe1d0 /fs/namei.c
parent37882db0546c759ff75b561c188539ac96fd0bfe (diff)
downloadlinux-34b128f31c028a28887c6659e90620727a319b16.tar.xz
uninline walk_component()
seriously improves the stack *and* I-cache footprint... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 7f20b40426dc..a77f9ca2c3e7 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1569,8 +1569,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;