chiark / gitweb /
fs-util: add shortcut for chase_symlinks() when it is called like open(O_PATH)
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2018 14:34:54 +0000 (16:34 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitef80cac536e2864258725a1392bb3726c4f09dbe
tree947af6f3d57d42f9e63227d32ca8079d0595f8ab
parent63c466f3bf2dce3f7c19fb2e7bbf9f081ac60030
fs-util: add shortcut for chase_symlinks() when it is called like open(O_PATH)

Let's optimize things, and let the kernel chase the paths if none of the
features chase_symlinks() offers are actually used.
src/basic/fs-util.c