From 5290ec879aa4d9f4192df00aad4434b0f0afa872 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 16 Aug 2013 15:04:59 +0200 Subject: [PATCH] block: do a final round of swapfile mounting in main_mount() This allows reenabling swap after "swapoff -a" when all other partitions are mounted already. --- block.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block.c b/block.c index 723c0f0..d4cf089 100644 --- a/block.c +++ b/block.c @@ -957,6 +957,8 @@ static int main_mount(int argc, char **argv) list_for_each_entry(pr, &devices, list) mount_device(pr, 0); + handle_swapfiles(true); + return 0; } -- 2.11.0