summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-21 20:52:23 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-21 20:52:23 +0200
commitf801968466fed39d50d410b30ac828c26722cc95 (patch)
treed17fd84799c0d8191c835e06fae46dec593e4fe2 /src/core/service.c
parentaaeef058865362b6ec5efb982d406f7827159720 (diff)
journal: completely rework the mmap cache as I too dumb to actually understand it
Instead of doing hand optimized fd bisect arrays just use plain old hashmaps. Now I can understand my own code again. Yay! As a side effect this should fix some bad memory accesses caused by accesses after mmap(), introduced in 189.
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index 7c79dcdd14..8d315c1f75 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -1829,7 +1829,6 @@ static int service_spawn(
if (r < 0)
goto fail;
-
if ((r = unit_watch_pid(UNIT(s), pid)) < 0)
/* FIXME: we need to do something here */
goto fail;