summaryrefslogtreecommitdiff
path: root/src/machine/machine-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-23 15:28:59 +0200
committerLennart Poettering <lennart@poettering.net>2020-09-23 18:57:37 +0200
commit890084db03f452673172d4fd19303548142001d5 (patch)
treea5cf87559d21ea5b43396f9aadc66a1d6445bfdb /src/machine/machine-dbus.c
parent21935150a0c42b91a322105f6a9129116bfc8e2e (diff)
downloadsystemd-890084db03f452673172d4fd19303548142001d5.tar.gz
tree-wide: port remaining umount() calls to umount_verbose()
Diffstat (limited to 'src/machine/machine-dbus.c')
-rw-r--r--src/machine/machine-dbus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c
index 103c82a9a4..931e6d7232 100644
--- a/src/machine/machine-dbus.c
+++ b/src/machine/machine-dbus.c
@@ -968,7 +968,7 @@ int bus_machine_method_bind_mount(sd_bus_message *message, void *userdata, sd_bu
(void) unlink(mount_tmp);
mount_tmp_created = false;
- (void) umount(mount_slave);
+ (void) umount_verbose(LOG_DEBUG, mount_slave, UMOUNT_NOFOLLOW);
mount_slave_mounted = false;
(void) rmdir(mount_slave);
@@ -1044,7 +1044,7 @@ int bus_machine_method_bind_mount(sd_bus_message *message, void *userdata, sd_bu
finish:
if (mount_outside_mounted)
- (void) umount(mount_outside);
+ (void) umount_verbose(LOG_DEBUG, mount_outside, UMOUNT_NOFOLLOW);
if (mount_outside_created) {
if (S_ISDIR(st.st_mode))
(void) rmdir(mount_outside);
@@ -1053,7 +1053,7 @@ finish:
}
if (mount_tmp_mounted)
- (void) umount(mount_tmp);
+ (void) umount_verbose(LOG_DEBUG, mount_tmp, UMOUNT_NOFOLLOW);
if (mount_tmp_created) {
if (S_ISDIR(st.st_mode))
(void) rmdir(mount_tmp);
@@ -1062,7 +1062,7 @@ finish:
}
if (mount_slave_mounted)
- (void) umount(mount_slave);
+ (void) umount_verbose(LOG_DEBUG, mount_slave, UMOUNT_NOFOLLOW);
if (mount_slave_created)
(void) rmdir(mount_slave);