diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-26 07:21:48 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-05 09:01:38 -0500 |
commit | 3866248e5f86d74960a3d1592882490ec3021675 (patch) | |
tree | af44e08612f8895a81aea230739439d4ef09cfaf /fs | |
parent | 806b681cbe588bebe8fe47dd24da62f2d1c55851 (diff) |
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')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 3 insertions, 1 deletions
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: | |||
1819 | return ERR_PTR(error); | 1819 | return ERR_PTR(error); |
1820 | if (force_reval) | 1820 | if (force_reval) |
1821 | nd.flags |= LOOKUP_REVAL; | 1821 | nd.flags |= LOOKUP_REVAL; |
1822 | error = path_walk(pathname, &nd); | 1822 | |
1823 | current->total_link_count = 0; | ||
1824 | error = link_path_walk(pathname, &nd); | ||
1823 | if (error) { | 1825 | if (error) { |
1824 | filp = ERR_PTR(error); | 1826 | filp = ERR_PTR(error); |
1825 | goto out; | 1827 | goto out; |