Commit 34b128f3 authored by Al Viro's avatar Al Viro
Browse files

uninline walk_component()



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

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 37882db0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;