]> err.no Git - systemd/commitdiff
mount: require fsck
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:21:05 +0000 (15:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:21:05 +0000 (15:21 +0200)
src/mount.c

index 5aa51dec5399352c69fd1867305882ffcce6d4f5..cef69977265f4e5900018d578dcb35cb36dbc306 100644 (file)
@@ -380,7 +380,7 @@ static int mount_add_device_links(Mount *m) {
 
                 SERVICE(fsck)->fsck_passno = p->passno;
 
-                if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_WANTS, fsck, true)) < 0)
+                if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_REQUIRES, fsck, true)) < 0)
                         return r;
         }