summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-21 01:28:30 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-21 01:28:30 +0100
commitff2e0f051431de2188561f4700950e229cedcb02 (patch)
treed5d3d528b9967e6153b8aa2d14f1f07750cfa6b4 /src/mount.c
parente0fa621b8b52da4d95bf5918eb998c9166e4bc7c (diff)
mount: ignore if an fsck is requested for a bind mount, so that we don't wait for the bind 'device' to show up
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mount.c b/src/mount.c
index aae9d982a..d9f3da6c4 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -372,6 +372,7 @@ static int mount_add_device_links(Mount *m) {
}
if (p->passno > 0 &&
+ !mount_is_bind(p) &&
UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
!path_equal(m->where, "/")) {
char *name;