Message ID | 20210311155101.98612-2-andrea.righi@canonical.com |
---|---|
State | New |
Headers | show |
Series | aws: fix hibernation issues on c5.18xlarge | expand |
diff --git a/kernel/power/swap.c b/kernel/power/swap.c index 7286fd82d875..b55b59c5336d 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -578,10 +578,10 @@ static int swap_writer_finish(struct swap_map_handle *handle, unsigned int flags, int error) { if (!error) { - flush_swap_writer(handle); pr_info("S"); error = mark_swapfiles(handle, flags); pr_cont("|\n"); + flush_swap_writer(handle); } if (error)