]> 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>
Mon, 12 Jun 2023 11:46:50 +0000 (13:46 +0200)
commit53ff0fcdab12d69c60c971c69a3d0d173fa46ca9
tree9013bcd5a330710743779f01f067d13dab126430
parent1a4b5c832ca108e0e8876d9c682330602a8b74c8
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