[systemd-commits] src/util.c TODO

Lennart Poettering lennart at kemper.freedesktop.org
Sat Jan 1 10:52:13 PST 2011


 TODO       |    2 ++
 src/util.c |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit c29597a104b4a9dca601473aa2a8afe8b2b2face
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sat Jan 1 19:50:32 2011 +0100

    util: invoke sync() implicitly on freeze()
    
    Suggested by Tom Gundersen.

diff --git a/TODO b/TODO
index 21f06a6..e864634 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+* excluse java hsp files by default https://bugzilla.redhat.com/show_bug.cgi?id=527425
+
 * drop IN_ATTRIB from inotify watches for .path units where possible to avoid
   lots of wakeups due to /dev changing when we watch a subdir of /dev.
 
diff --git a/src/util.c b/src/util.c
index 60af4fe..0d1116d 100644
--- a/src/util.c
+++ b/src/util.c
@@ -3386,6 +3386,8 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid) {
 }
 
 void freeze(void) {
+        sync();
+
         for (;;)
                 pause();
 }



More information about the systemd-commits mailing list