From cca125c2758b48ba8f1afdc4b5751b104f0bd809 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 27 Oct 2011 15:36:57 +0200 Subject: [PATCH] mount: do not try to fsck tmpfs mountpoint with non-null passno. --- src/mount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Index: systemd-39/src/mount.c =================================================================== --- systemd-39.orig/src/mount.c +++ systemd-39/src/mount.c @@ -428,6 +428,7 @@ static int mount_add_device_links(Mount if (p->passno > 0 && !mount_is_bind(p) && + !streq(p->fstype,"tmpfs") && UNIT(m)->manager->running_as == MANAGER_SYSTEM && !path_equal(m->where, "/")) { char *name;