diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-19 14:48:53 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 05:18:29 +0300 |
commit | 34b128f31c028a28887c6659e90620727a319b16 (patch) | |
tree | 158e2558ed1876d0db3b2defd02e629b78dfe1d0 /fs/namei.c | |
parent | 37882db0546c759ff75b561c188539ac96fd0bfe (diff) | |
download | linux-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.c | 3 |
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; |