summaryrefslogtreecommitdiffstats
path: root/src/exec.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-07 12:48:30 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-07 12:48:30 -0400
commit7129ed0ff069fde418773be313442beb0dacfaaf (patch)
tree89f1c19826a2a899a56da89fde9bf053a106e3a3 /src/exec.c
parent781b9eb78070872734c4e8303b3d02ae9e9c0f37 (diff)
downloadbfs-7129ed0ff069fde418773be313442beb0dacfaaf.tar.xz
stat: Prefer fstat(fd) to fstatat(fd, "", AT_EMPTY_PATH)
This lets us get rid of the runtime probe for AT_EMPTY_PATH support, and should be more efficient anyway. We still use statx(fd, "", AT_EMPTY_PATH) if available. Link: https://lore.kernel.org/linux-fsdevel/CAHk-=wiYnnv7Kw7v+Cp2xU6_Fd-qxQMZuuxZ61LgA2=Gtftw-A@mail.gmail.com/
Diffstat (limited to 'src/exec.c')
0 files changed, 0 insertions, 0 deletions