]> git.ipfire.org Git - thirdparty/systemd.git/commit
mountpoint-util: statx() may return EINVAL if the kernel does not support the syscall
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 21 Jul 2023 16:15:59 +0000 (01:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 21 Jul 2023 17:20:22 +0000 (02:20 +0900)
commit748711576662dbf697d5b4251d3fdbce6a666e7a
treea685a4aec131b19dc09e4518457b1f62ba3c28c1
parentd35ff4b60e4b5ca166aca48afb5bb7fde3275cac
mountpoint-util: statx() may return EINVAL if the kernel does not support the syscall

When statx() is called with AT_STATX_DONT_SYNC, glibc's fallback code
returns EINVAL. See statx_generic() in glibc.
src/basic/mountpoint-util.c