dm: remove dm_get_dev_t
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 12:55:30 +0000 (14:55 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:57:40 +0000 (10:57 -0600)
commitd4a28d7defe79006e59293a4b43d518ba8483fb0
treefebeabd7b852358564e9a33e2fe5a271142b43ad
parent49177377e910a8fd5cd1388c966d8fbb51075c3c
dm: remove dm_get_dev_t

Open code dm_get_dev_t in the only remaining caller, and propagate the
exact error code from lookup_bdev and early_lookup_bdev.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-table.c
include/linux/device-mapper.h