diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index 19f178ec5744..b3780e3fc88e 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -1152,8 +1152,8 @@ static int fastcall do_path_lookup(int dfd, const char *name, | |||
1152 | 1152 | ||
1153 | fput_light(file, fput_needed); | 1153 | fput_light(file, fput_needed); |
1154 | } | 1154 | } |
1155 | current->total_link_count = 0; | 1155 | |
1156 | retval = link_path_walk(name, nd); | 1156 | retval = path_walk(name, nd); |
1157 | out: | 1157 | out: |
1158 | if (unlikely(!retval && !audit_dummy_context() && nd->dentry && | 1158 | if (unlikely(!retval && !audit_dummy_context() && nd->dentry && |
1159 | nd->dentry->d_inode)) | 1159 | nd->dentry->d_inode)) |