chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: drop all pending jobs when isolating
[elogind.git]
/
src
/
swap.c
diff --git
a/src/swap.c
b/src/swap.c
index c32f60810c0f17444d12861e7080c4e10ed16bac..ef001a98bfc1c193ead87be6fd4f673731058f6e 100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-90,6
+90,8
@@
static void swap_unset_proc_swaps(Swap *s) {
s->timer_watch.type = WATCH_INVALID;
s->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
s->timer_watch.type = WATCH_INVALID;
s->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
+
+ s->meta.ignore_on_isolate = true;
}
static void swap_unwatch_control_pid(Swap *s) {
}
static void swap_unwatch_control_pid(Swap *s) {
@@
-1339,7
+1341,6
@@
const UnitVTable swap_vtable = {
.no_alias = true,
.no_instances = true,
.no_alias = true,
.no_instances = true,
- .no_isolate = true,
.show_status = true,
.init = swap_init,
.show_status = true,
.init = swap_init,