From: Jo-Philipp Wich Date: Fri, 16 Aug 2013 13:04:59 +0000 (+0200) Subject: block: do a final round of swapfile mounting in main_mount() X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=commitdiff_plain;h=5290ec879aa4d9f4192df00aad4434b0f0afa872 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. --- 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; }