On Fri, 2017-04-21 at 20:47 +0800, Huang, Ying wrote: > From: Huang Ying <[email protected]> > > In swapcache_free_entries(), if swap_info_get_cont() return NULL, > something wrong occurs for the swap entry. But we should still > continue to free the following swap entries in the array instead of > skip them to avoid swap space leak. This is just problem in error > path, where system may be in an inconsistent state, but it is still > good to fix it. >
Acked-by: Tim Chen <[email protected]> > Signed-off-by: "Huang, Ying" <[email protected]> > Cc: Tim Chen <[email protected]> > Cc: Rik van Riel <[email protected]> > Cc: Hugh Dickins <[email protected]> > Cc: Shaohua Li <[email protected]> > Cc: Minchan Kim <[email protected]> > ---

