unit: replace recursive_stop by stop_retroactively to simplify things a little

This commit is contained in:
Lennart Poettering
2010-10-28 03:38:52 +02:00
parent 799fd0fd23
commit f14e15f8af
7 changed files with 28 additions and 30 deletions
+3
View File
@@ -70,6 +70,9 @@ static void mount_init(Unit *u) {
* already trying to comply its last one. */
m->exec_context.same_pgrp = true;
/* Make sure we unmount when the devices we require go away */
m->meta.stop_retroactively = true;
m->timer_watch.type = WATCH_INVALID;
m->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;