]> git.ipfire.org Git - thirdparty/systemd.git/commit
chase: introduce openat_opath_with_automount() helper 38062/head
authorMike Yuan <me@yhndnzj.com>
Thu, 3 Jul 2025 20:40:15 +0000 (22:40 +0200)
committerMike Yuan <me@yhndnzj.com>
Sat, 5 Jul 2025 10:18:55 +0000 (12:18 +0200)
commit1320e562839337b309678416122790110dd5ad3a
tree7cc114da2889f9764c0d037bfde7dc30087e61ea
parentd75219711f9470fa04d36f224b4f36f1622eb842
chase: introduce openat_opath_with_automount() helper

Follow-up for c5de7b14ae2e08d267d8d75bc88934ac6aa7dcd6

chase() is arguably a hot path in our code, hence it deserves
some caching whether open_tree() is available. Moreover,
the manual set of r to -EPERM feels kinda ugly. Let's
instead extract this bit into its own function.
src/basic/chase.c