From: Al Viro Date: Fri, 8 May 2015 17:23:53 +0000 (-0400) Subject: namei: store seq numbers in nd->stack[] X-Git-Tag: v4.2-rc1~180^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0450b2d120ed9e6d4ac7a6eade0ad116f69b88f7;p=karo-tx-linux.git namei: store seq numbers in nd->stack[] we'll need them for unlazy_walk() Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index 20bf494307c9..92bf0312fa71 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -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; }