From 3866248e5f86d74960a3d1592882490ec3021675 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 26 Dec 2009 07:21:48 -0500 Subject: Finish pulling of -ESTALE handling to upper level in do_filp_open() Don't bother with path_walk() (and its retry loop); link_path_walk() will do it. Signed-off-by: Al Viro --- fs/namei.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/namei.c b/fs/namei.c index 08da937b1ee2..adfbaf5c04a7 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1819,7 +1819,9 @@ reval: return ERR_PTR(error); if (force_reval) nd.flags |= LOOKUP_REVAL; - error = path_walk(pathname, &nd); + + current->total_link_count = 0; + error = link_path_walk(pathname, &nd); if (error) { filp = ERR_PTR(error); goto out; -- cgit v1.2.2