diff --git a/mm/swapfile.c b/mm/swapfile.c index a60e0075d55bd4d5692a5b39f146a7cedffe51e7..da48405cd9a3199d9088d1221864fa77a76a108d 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -79,7 +79,7 @@ void swap_unplug_io_fn(struct backing_dev_info *unused_bdi, struct page *page) WARN_ON(page_count(page) <= 1); bdi = bdev->bd_inode->i_mapping->backing_dev_info; - bdi->unplug_io_fn(bdi, page); + blk_run_backing_dev(bdi, page); } up_read(&swap_unplug_sem); }