pktcdvd: use blkdev_get_by_dev instead of open coding it
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Sep 2020 07:19:49 +0000 (09:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Sep 2020 16:43:19 +0000 (10:43 -0600)
commitb8d954849cf4689d88ad84fd5cdb2d71d060f66a
treee1b461226893ea5ca033d1c0e7c8648d9c4ebef1
parent2d9e28a9a10c2381a267a5184560ddc9f673f71b
pktcdvd: use blkdev_get_by_dev instead of open coding it

Replace bdget + blkdev_get by blkdev_get_by_dev.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c