block_dev: use bio_release_pages in blkdev_bio_end_io
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 13:49:25 +0000 (15:49 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jun 2019 15:47:31 +0000 (09:47 -0600)
commit57dfe3ce10e5cecfb3d073e90c0454f432a86873
treea6e2767062c46641d5081bc863ea815c8c5e5ce6
parent147a60538d91ddd431c970f83527b3365d72eefc
block_dev: use bio_release_pages in blkdev_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/block_dev.c