]> git.ipfire.org Git - thirdparty/util-linux.git/commit - configure.ac
libmount: ifdef statx() call
authorKarel Zak <kzak@redhat.com>
Thu, 3 Aug 2023 10:39:19 +0000 (12:39 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Aug 2023 10:39:19 +0000 (12:39 +0200)
commitc0136ac0c98b18208508fbcfac31a843e0bb8a37
tree9d3ff0fe1de0cbe477dc53d3214ab8409e01d8eb
parent8d2f94552ba080c58e695f6dbf6706aface7ea5f
libmount: ifdef statx() call

In this case the statx() is use to get mount ID. It's optional and not
required. Let's #ifdef the statx() call and also check for stx_mnt_id
struct member.

Fixes: https://github.com/util-linux/util-linux/issues/2415
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
libmount/src/hook_mount.c