[PATCH] mount: do not try to fsck tmpfs mountpoint with non-null passno.

Frederic Crozat fcrozat at suse.com
Thu Oct 27 06:36:57 PDT 2011


---
 src/mount.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mount.c b/src/mount.c
index ef953f0..5da4047 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -434,6 +434,7 @@ static int mount_add_device_links(Mount *m) {
 
         if (p->passno > 0 &&
             !mount_is_bind(p) &&
+            !streq(p->fstype,"tmpfs") &&
             UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
             !path_equal(m->where, "/")) {
                 char *name;
-- 
1.7.7


--=-OLIKUx+h8NCydv16Rq8d--



More information about the systemd-devel mailing list