diff options
Diffstat (limited to 'mm/page_io.c')
-rw-r--r-- | mm/page_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_io.c b/mm/page_io.c index 5d882de3fbfd..cd52b9cc169b 100644 --- a/mm/page_io.c +++ b/mm/page_io.c | |||
@@ -408,7 +408,7 @@ int swap_readpage(struct page *page, bool do_poll) | |||
408 | if (!READ_ONCE(bio->bi_private)) | 408 | if (!READ_ONCE(bio->bi_private)) |
409 | break; | 409 | break; |
410 | 410 | ||
411 | if (!blk_mq_poll(disk->queue, qc)) | 411 | if (!blk_poll(disk->queue, qc)) |
412 | break; | 412 | break; |
413 | } | 413 | } |
414 | __set_current_state(TASK_RUNNING); | 414 | __set_current_state(TASK_RUNNING); |