]> err.no Git - linux-2.6/blobdiff - fs/namei.c
Bug in mm/thrash.c function grab_swap_token()
[linux-2.6] / fs / namei.c
index 19f178ec5744f9c62fe8a6637bb313bfe6b7779c..b3780e3fc88ea18f2b7f5a2666702312f501b8b5 100644 (file)
@@ -1152,8 +1152,8 @@ static int fastcall do_path_lookup(int dfd, const char *name,
 
                fput_light(file, fput_needed);
        }
-       current->total_link_count = 0;
-       retval = link_path_walk(name, nd);
+
+       retval = path_walk(name, nd);
 out:
        if (unlikely(!retval && !audit_dummy_context() && nd->dentry &&
                                nd->dentry->d_inode))