diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-26 12:21:48 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-05 14:01:38 (GMT) |
commit | 3866248e5f86d74960a3d1592882490ec3021675 (patch) | |
tree | af44e08612f8895a81aea230739439d4ef09cfaf /fs/namei.c | |
parent | 806b681cbe588bebe8fe47dd24da62f2d1c55851 (diff) | |
download | linux-fsl-qoriq-3866248e5f86d74960a3d1592882490ec3021675.tar.xz |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |