swap: fix misplaced comment

This commit is contained in:
Lennart Poettering
2018-12-07 17:35:32 +01:00
parent 31135818e4
commit ba6fbb2cee
+1 -1
View File
@@ -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;