commit | 3617531b89f4500086a50d7158f9136d86a26012 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri May 22 10:18:23 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 18 08:40:50 2020 -0600 |
tree | f998ada9e02bd5692c12ef000bd5db6646e8d250 | |
parent | 640ad3dd754c02faf32fc96131c0e304793fb391 [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>