diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 14:55:29 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 18:57:40 +0200 |
commit | 49177377e910a8fd5cd1388c966d8fbb51075c3c (patch) | |
tree | ce3d4dc8720dfeaaf84d65fe15c5c85d2f27e6b1 /drivers/ata/libata-sff.c | |
parent | dm-snap: simplify the origin_dev == cow_dev check in snapshot_ctr (diff) | |
download | linux-49177377e910a8fd5cd1388c966d8fbb51075c3c.tar.xz linux-49177377e910a8fd5cd1388c966d8fbb51075c3c.zip |
dm: open code dm_get_dev_t in dm_init_init
dm_init_init is called from early boot code, and thus lookup_bdev
will never succeed. Just open code that call to early_lookup_bdev
instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20230531125535.676098-19-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/libata-sff.c')
0 files changed, 0 insertions, 0 deletions