• Andrew Morton's avatar
    [PATCH] blk_run_page() race fix · 66a759eb
    Andrew Morton authored
    blk_run_page() is incorrectly using page->mapping, which makes it racy against
    removal from swapcache.
    
    Make block_sync_page() use page_mapping(), and remove bkl_run_page(), which
    only had one caller.
    66a759eb
blkdev.h 20.7 KB