chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: do not spawn jobs or touch other units during coldplugging
[elogind.git]
/
src
/
core
/
socket.c
diff --git
a/src/core/socket.c
b/src/core/socket.c
index 9606ac2b1c33b085e763f9dde64d3a28a170db42..f67370b4cb921d0d041b7d5e7b4ed991af6a2db9 100644
(file)
--- a/
src/core/socket.c
+++ b/
src/core/socket.c
@@
-1322,7
+1322,7
@@
static void socket_set_state(Socket *s, SocketState state) {
unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true);
}
-static int socket_coldplug(Unit *u) {
+static int socket_coldplug(Unit *u
, Hashmap *deferred_work
) {
Socket *s = SOCKET(u);
int r;