]> git.ipfire.org Git - thirdparty/util-linux.git/commit
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>
Wed, 16 Aug 2023 09:28:37 +0000 (11:28 +0200)
commitce266c9e168d4f88ae04fea3f9984deb9d9a5dfd
tree15ab34d2ee2f960f4907b1028a160714c0f35843
parenta64cec15a9e050f0cec57081ec621507a8d8008d
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