forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EOPENSTALE occuring at the last component of a trailing symlink ends up with do_last() retrying its lookup. After the symlink body has been discarded. The thing is, all this retry_lookup logics in there is not needed at all - the upper layers will do the right thing if we simply return that -EOPENSTALE as we would with any other error. Trying to microoptimize in do_last() is a lot of headache for no good reason. Cc: [email protected] # v4.2+ Tested-by: Oleg Drokin <[email protected]> Reviewed-and-Tested-by: Jeff Layton <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information
Al Viro
committed
Jun 4, 2016
1 parent
1a695a9
commit fac7d19
Showing
1 changed file
with
4 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters