]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix new API code when use external helper
authorKarel Zak <kzak@redhat.com>
Wed, 12 Oct 2022 10:23:48 +0000 (12:23 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 11:58:42 +0000 (12:58 +0100)
commit6656929f026d9bf790d8efbe6db1a85c3e0dd267
tree8be9f5d8b595d6b370df07972c4676acc825d89e
parent181397430ae1fd8c8c5d4ad46db731864dfbffbf
libmount: fix new API code when use external helper

We don't want to call fsopen() or so if external /sbin/mount.<type>
helper is expected.

This patch also add fallback to propagation hook to open mount tree
if necessary.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/hook_mount.c
libmount/src/hook_mount_legacy.c
tests/ts/mount/special