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