diff options
| -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; |
