]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: introduce LIBMOUNT_FORCE_MOUNT2={always,never,auto}
authorKarel Zak <kzak@redhat.com>
Mon, 5 Jun 2023 11:21:11 +0000 (13:21 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Jun 2023 08:12:29 +0000 (10:12 +0200)
commitfd6b4d94ff013dc7ed680d4e864610da5b9751f1
tree4018b26a09d097ca9620d0bd922613e18c828590
parent7db2e6373b3d2a9098405a73681d80e38bcd58e5
libmount: introduce LIBMOUNT_FORCE_MOUNT2={always,never,auto}

Let's introduce a stable workaround for use cases where new kernel API
is not ready to use.

The patch does not use "goto enosys" to exit as nothing in the hookset
is initialized yet.

Addresses: https://github.com/util-linux/util-linux/issues/1992
Addresses: https://github.com/util-linux/util-linux/issues/2283
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/hook_mount.c
sys-utils/mount.8.adoc