| commit | e8ae7a855809510cdf0d7001107273c2cf92263b | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 01 00:48:31 2025 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 01 01:08:57 2025 -0400 |
| tree | 2b77822510224435d3372570dbe983b34578702a | |
| parent | 8802f3ad1f89b3858d6dd185553da68c2e7a90d0 [diff] |
do_readlinkat(): import pathname only once Take getname_flags() and putname() outside of retry loop. Since getname_flags() is the only thing that cares about LOOKUP_EMPTY, don't bother with setting LOOKUP_EMPTY in lookup_flags - just pass it to getname_flags() and be done with that. The things could be further simplified by use of cleanup.h stuff, but let's not clutter the patch with that. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>