aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-19 07:48:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-10 22:18:29 -0400
commit34b128f31c028a28887c6659e90620727a319b16 (patch)
tree158e2558ed1876d0db3b2defd02e629b78dfe1d0 /fs/namei.c
parentSECURITY: remove nameidata arg from inode_follow_link. (diff)
downloadlinux-dev-34b128f31c028a28887c6659e90620727a319b16.tar.xz
linux-dev-34b128f31c028a28887c6659e90620727a319b16.zip
uninline walk_component()
seriously improves the stack *and* I-cache footprint... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-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;