diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 14:55:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 10:57:40 -0600 |
commit | 7cadcaf1d82618852745e7206fffa2c72c17ce4b (patch) | |
tree | 2d6fc480677c71ce91bb495f863f561f9239624c /include | |
parent | 702f3189e454b3c3c2f3c99dbf30acf41aab707c (diff) | |
download | linux-7cadcaf1d82618852745e7206fffa2c72c17ce4b.tar.gz linux-7cadcaf1d82618852745e7206fffa2c72c17ce4b.tar.bz2 linux-7cadcaf1d82618852745e7206fffa2c72c17ce4b.zip |
block: move more code to early-lookup.c
blk_lookup_devt is only used by code in early-lookup.c, so move it
there.
printk_all_partitions and it's helper bdevt_str are only used by the
early init code in init/do_mounts.c, so they should go there as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index d682e233fd66..52718176d1b4 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -838,7 +838,6 @@ static inline void bd_unlink_disk_holder(struct block_device *bdev, dev_t part_devt(struct gendisk *disk, u8 partno); void inc_diskseq(struct gendisk *disk); -dev_t blk_lookup_devt(const char *name, int partno); void blk_request_module(dev_t devt); extern int blk_register_queue(struct gendisk *disk); |