[systemd-commits] 3 commits - src/job.c src/mount.c src/readahead-collect.c

Lennart Poettering lennart at kemper.freedesktop.org
Sun Sep 26 16:48:05 PDT 2010


 src/job.c               |    2 +-
 src/mount.c             |    1 -
 src/readahead-collect.c |    1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 0ebd74d8d9ffc4ea47cc8fe8798466bdf4e6967f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Sep 27 01:37:22 2010 +0200

    job: show failure message only for start jobs

diff --git a/src/job.c b/src/job.c
index c219b0d..0b6d321 100644
--- a/src/job.c
+++ b/src/job.c
@@ -489,7 +489,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
         t = j->type;
         job_free(j);
 
-        if (!success)
+        if (!success && j->type == JOB_START)
                 unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u));
 
         /* Fail depending jobs on failure */
commit 334d0069f5c5239a30329e370827cfe6f13de3ea
Author: Fabiano Fidencio <fidencio at profusion.mobi>
Date:   Sun Sep 26 16:55:27 2010 -0300

    mount: Remove double include of "mount.h"

diff --git a/src/mount.c b/src/mount.c
index 5a05e2c..64c6790 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -33,7 +33,6 @@
 #include "strv.h"
 #include "mount-setup.h"
 #include "unit-name.h"
-#include "mount.h"
 #include "dbus-mount.h"
 #include "special.h"
 
commit 82526d72184e8fc3198decad1b2a8b895da6c0ba
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Sep 27 01:24:35 2010 +0200

    update fixme

diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index 5c9968a..3b03b64 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -54,7 +54,6 @@
  *
  * - detect ssd on btrfs/lvm...
  * - read ahead directories
- * - sd_readahead_cancel
  * - gzip?
  * - remount rw?
  * - handle files where nothing is in mincore


More information about the systemd-commits mailing list