]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: check for availability of mount_setattr
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 20 May 2023 04:38:20 +0000 (06:38 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 22 May 2023 07:38:07 +0000 (09:38 +0200)
commit1bd85b64632280d6bf0e86b4ff29da8b19321c5f
tree70790a359119c28383924f8816bddbc94906e95a
parent01a0a556018694bfaf6b01a5a40f8d0d10641a1f
libmount: check for availability of mount_setattr

If mount_setattr is not available but needed fall back to the legacy
mount API.

Fixes #2247

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libmount/src/hook_mount.c
tests/expected/mount/fallback-mount_setattr [new file with mode: 0644]
tests/ts/mount/fallback