From f14e15f8affe906a45d8afc76c302a49cd1f70ee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Oct 2010 03:38:52 +0200 Subject: unit: replace recursive_stop by stop_retroactively to simplify things a little --- src/mount.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mount.c') diff --git a/src/mount.c b/src/mount.c index d62ce8f408..0b67fbed5d 100644 --- a/src/mount.c +++ b/src/mount.c @@ -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; -- cgit v1.2.3-54-g00ecf