• Andrew Morton's avatar
    [PATCH] rw_swap_page_sync(): place the pages in swapcache · e279bfef
    Andrew Morton authored
    This function is setting page->mapping = swapper_space, but isn't actually
    adding the page to swapcache.  This triggers soon-to-be-added BUGs in the
    radix tree code.
    
    So temporarily add these pages to swapcache for real.
    
    Also, make rw_swap_page_sync() go away if it has no callers.
    e279bfef
page_io.c 4.14 KB