From ba6fbb2cee3cafc5b51120021c3dfea002870108 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 28 Nov 2018 20:06:55 +0100 Subject: [PATCH] swap: fix misplaced comment --- src/core/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/swap.c b/src/core/swap.c index bbcf886458b..50da43f8a75 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -1160,13 +1160,13 @@ static int swap_dispatch_io(sd_event_source *source, int fd, uint32_t revents, v Swap *swap = SWAP(u); if (!swap->is_active) { - /* This has just been deactivated */ swap_unset_proc_swaps(swap); switch (swap->state) { case SWAP_ACTIVE: + /* This has just been deactivated */ swap_enter_dead(swap, SWAP_SUCCESS); break; -- 2.47.3