diff --git a/[refs] b/[refs] index c3847f65b4cd..6ce94aae85f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 806b681cbe588bebe8fe47dd24da62f2d1c55851 +refs/heads/master: 3866248e5f86d74960a3d1592882490ec3021675 diff --git a/trunk/fs/namei.c b/trunk/fs/namei.c index 08da937b1ee2..adfbaf5c04a7 100644 --- a/trunk/fs/namei.c +++ b/trunk/fs/namei.c @@ -1819,7 +1819,9 @@ struct file *do_filp_open(int dfd, const char *pathname, 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;