basic: add make_mount_point_inode helper
authorLuca Boccassi <bluca@debian.org>
Sat, 19 Dec 2020 21:40:47 +0000 (21:40 +0000)
committerLuca Boccassi <bluca@debian.org>
Mon, 27 May 2024 13:02:03 +0000 (14:02 +0100)
commitb852521e598f46fb45dbe2c2b203cf69fbb856eb
tree60543b00eab56b059f4d318fb0ae13abbe0103a8
parent2eae5118a12c8a52cfa5b56e582aef4bc0a179d2
basic: add make_mount_point_inode helper

Creates a file or a directory depending on the source path, useful
for creating mount points.

(cherry picked from commit 8bab8029105e44ce78c5e11bffa203a1135fe201)

Gbp-Pq: Name basic-add-make_mount_point_inode-helper.patch
src/basic/mountpoint-util.c
src/basic/mountpoint-util.h
src/core/namespace.c
src/machine/machine-dbus.c
src/test/test-mountpoint-util.c