提交 0450b2d1 编写于 作者: A Al Viro

namei: store seq numbers in nd->stack[]

we'll need them for unlazy_walk()
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 294d71ff
......@@ -508,6 +508,7 @@ struct nameidata {
void *cookie;
const char *name;
struct inode *inode;
unsigned seq;
} *stack, internal[EMBEDDED_LEVELS];
};
......@@ -1577,6 +1578,7 @@ static int pick_link(struct nameidata *nd, struct path *link,
last->link = *link;
last->cookie = NULL;
last->inode = inode;
last->seq = seq;
return 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册