summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-28 23:18:47 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-29 00:45:46 +0200
commitb81884e7466b8e8bc1261b1b1a722d11694b8c54 (patch)
treea974af7656baa8eadb0bb0fec0bfe44e4885bb8c /src/mount.c
parent941a4041bdb9d91e9d5033005263efe029621e4f (diff)
unit: replace StopRetroactively= by BindTo= dependencies
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay.
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mount.c b/src/mount.c
index 0b67fbed5d..d62ce8f408 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -70,9 +70,6 @@ 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;