From 0450b2d120ed9e6d4ac7a6eade0ad116f69b88f7 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 8 May 2015 13:23:53 -0400 Subject: [PATCH] namei: store seq numbers in nd->stack[] we'll need them for unlazy_walk() Signed-off-by: Al Viro --- fs/namei.c | 2 ++ 1 file changed, 2 insertions(+) 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; }