Ming Lei 0257c0ed5e block: don't run get_page() on pages from non-bvec iov iter
The refcount has been increased for pages retrieved from non-bvec iov iter
via __bio_iov_iter_get_pages(), so don't need to do that again.

Otherwise, IO pages are leaked easily.

Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Fixes: 7321ecbfc7cf ("block: change how we get page references in bio_iov_iter_get_pages")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-24 08:06:04 -06:00
..
2019-04-22 09:47:36 -06:00
2019-04-22 09:47:36 -06:00
2019-04-22 09:47:36 -06:00
2019-03-20 14:39:09 -06:00
2018-11-07 13:42:32 -07:00
2019-03-09 16:53:47 -08:00
2018-12-16 19:53:47 -07:00
2019-02-09 15:40:24 -07:00
2018-11-15 12:13:25 -07:00
2018-12-28 13:19:59 -08:00
2019-04-08 08:13:12 -06:00
2019-04-22 09:48:12 -06:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2019-04-06 10:48:35 -06:00
2018-11-07 13:42:32 -07:00