lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 104/110] namei: store seq numbers in nd->stack[]
Date
From: Al Viro <viro@zeniv.linux.org.uk>

we'll need them for unlazy_walk()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
fs/namei.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/fs/namei.c b/fs/namei.c
index 20bf494..92bf031 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;
}

--
2.1.4


\
 
 \ /
  Last update: 2015-05-11 20:41    [W:1.445 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site