summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-12 04:07:43 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-12 04:08:04 +0200
commite04aad61bb5eff117e51631727a3ef2807c75d6b (patch)
treeba81670a61b706bd9194eb289f9dbd3ba4107dfb /src/manager.c
parent60b912f6b1c6bce67ec4a979594981f6a3b13987 (diff)
swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c
index 537ff2e39d..1fe8936cd3 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -2217,6 +2217,9 @@ int manager_loop(Manager *m) {
if (manager_dispatch_dbus_queue(m) > 0)
continue;
+ if (swap_dispatch_reload(m) > 0)
+ continue;
+
if ((n = epoll_wait(m->epoll_fd, &event, 1, -1)) < 0) {
if (errno == EINTR)