2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00

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

we'll need them for unlazy_walk()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2015-05-08 13:23:53 -04:00
parent 294d71ff2f
commit 0450b2d120

View File

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