summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-11-01 00:48:31 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2026-01-13 15:16:44 -0500
commit1ee5220eb364f7ac22fc6102e61c7b33e593f365 (patch)
tree6488423710b250594638466e29b102e3f45a5ed7 /include/linux
parentcf6b819c229af0d692a0e288261b4d8d73554a0d (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions