iomap: use bio_release_pages in iomap_dio_bio_end_io
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 13:49:24 +0000 (15:49 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jun 2019 15:47:31 +0000 (09:47 -0600)
commit147a60538d91ddd431c970f83527b3365d72eefc
tree071a34df53c3d85b774abd5e03cf6d62ec353f28
parent506e0798479ed54d48f063547b1b62d33b18d54c
iomap: use bio_release_pages in iomap_dio_bio_end_io

Use bio_release_pages instead of duplicating it.

Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap.c