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
/
busname.c
diff --git
a/src/core/busname.c
b/src/core/busname.c
index bc3a2bcb784d3f84093c60fa6328121c56d1d7cf..43d7607a30f23ebeef05bd26c9178b6a665825b7 100644
(file)
--- a/
src/core/busname.c
+++ b/
src/core/busname.c
@@
-335,7
+335,7
@@
static void busname_set_state(BusName *n, BusNameState state) {
unit_notify(UNIT(n), state_translation_table[old_state], state_translation_table[state], true);
}
unit_notify(UNIT(n), state_translation_table[old_state], state_translation_table[state], true);
}
-static int busname_coldplug(Unit *u) {
+static int busname_coldplug(Unit *u
, Hashmap *deferred_work
) {
BusName *n = BUSNAME(u);
int r;
BusName *n = BUSNAME(u);
int r;
@@
-975,7
+975,7
@@
static int busname_get_timeout(Unit *u, uint64_t *timeout) {
}
static bool busname_supported(Manager *m) {
}
static bool busname_supported(Manager *m) {
- int supported = -1;
+
static
int supported = -1;
assert(m);
if (supported < 0)
assert(m);
if (supported < 0)