uninline walk_component()

seriously improves the stack *and* I-cache footprint...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2015-04-19 07:48:53 -04:00
parent 37882db054
commit 34b128f31c

View file

@ -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;