commit | 061a4bda8affe46817f8bdf91c5a6da92245ce17 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri May 22 10:18:23 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 21 09:11:09 2020 -0600 |
tree | 8d88f414dce35b71ddd0c8ae86e2a2f94c26ed1f | |
parent | eb560f65955244740177d4798e5bca13fa5a1e3f [diff] |
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>