mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
806b681cbe
commit
3866248e5f
1 changed files with 3 additions and 1 deletions
|
|
@ -1819,7 +1819,9 @@ reval:
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue