summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro2015-04-19 13:48:53 +0200
committerAl Viro2015-05-11 04:18:29 +0200
commit34b128f31c028a28887c6659e90620727a319b16 (patch)
tree158e2558ed1876d0db3b2defd02e629b78dfe1d0 /fs/namei.c
parentSECURITY: remove nameidata arg from inode_follow_link. (diff)
downloadkernel-qcow2-linux-34b128f31c028a28887c6659e90620727a319b16.tar.gz
kernel-qcow2-linux-34b128f31c028a28887c6659e90620727a319b16.tar.xz
kernel-qcow2-linux-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 '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;