diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-08 19:23:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 14:13:14 +0200 |
commit | 0450b2d120ed9e6d4ac7a6eade0ad116f69b88f7 (patch) | |
tree | 24f14db9cc7aa0b106dcb09c9927dfa6712dfd1e | |
parent | new helper: __legitimize_mnt() (diff) | |
download | linux-0450b2d120ed9e6d4ac7a6eade0ad116f69b88f7.tar.xz linux-0450b2d120ed9e6d4ac7a6eade0ad116f69b88f7.zip |
namei: store seq numbers in nd->stack[]
we'll need them for unlazy_walk()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |