]> git.baikalelectronics.ru Git - kernel.git/commit
mm: add kiocb_wait_page_queue_init() helper
authorJens Axboe <axboe@kernel.dk>
Fri, 22 May 2020 16:18:23 +0000 (10:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Jun 2020 02:44:26 +0000 (20:44 -0600)
commit01e891836042d946826b24bba8dba1ed3e9fbd75
treebee2f7f23dd7bdf3132f89d993ac2b1b051fced1
parent28f7e9cc3e013876d7f23fa5f402d8bd44906d3c
mm: add kiocb_wait_page_queue_init() helper

Checks if the file supports it, and initializes the values that we need.
Caller passes in 'data' pointer, if any, and the callback function to
be used.

Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/pagemap.h