]> err.no Git - systemd/commitdiff
util: invoke sync() implicitly on freeze()
authorLennart Poettering <lennart@poettering.net>
Sat, 1 Jan 2011 18:50:32 +0000 (19:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Jan 2011 18:50:32 +0000 (19:50 +0100)
Suggested by Tom Gundersen.

TODO
src/util.c

diff --git a/TODO b/TODO
index 21f06a6f9da211c52e888589a08f86ed8c46f1bb..e864634acc9edb5bef7f419bc230817f8843c8ea 100644 (file)
--- 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.
 
index 60af4fe60d4dfce08e66a92632e30dbada029d3f..0d1116dc12676cc341b8ff4df9c54c047f14a3b4 100644 (file)
@@ -3386,6 +3386,8 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid) {
 }
 
 void freeze(void) {
+        sync();
+
         for (;;)
                 pause();
 }