]> git.ipfire.org Git - thirdparty/systemd.git/commit
chase: optimize the special case where no root dir specified
authorLennart Poettering <lennart@poettering.net>
Sun, 28 Dec 2025 09:50:29 +0000 (10:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 17 Jan 2026 11:37:39 +0000 (12:37 +0100)
commitded2531764631aefe7846107c6f2fa2e1fd1d62d
tree8cba2f8ca62bb9e9e4e2e1322c417ef56585b4ac
parent874971b1c0d0674bb46f21bda805287d17c34a49
chase: optimize the special case where no root dir specified

Now that we can recognize the root dir in chaseat() sanely, let's use it
top optimize the very common special case where we have no root dir to
consider, and directly call open_tree().
src/basic/chase.c
src/test/test-chase.c