diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-05-31 14:55:33 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 11:10:10 -0600 |
| commit | b2baa57475e3a24bb9ad27bb9047ea3be94627f5 (patch) | |
| tree | 2c234b35263b8904a336040b98d5ca57e808ea8f /include/linux/blkdev.h | |
| parent | 1e8c813b083c4122dfeaa5c3b11028331026e85d (diff) | |
| download | linux-b2baa57475e3a24bb9ad27bb9047ea3be94627f5.tar.gz linux-b2baa57475e3a24bb9ad27bb9047ea3be94627f5.tar.bz2 linux-b2baa57475e3a24bb9ad27bb9047ea3be94627f5.zip | |
mtd: block2mtd: factor the early block device open logic into a helper
Simplify add_device a bit by splitting out the cumbersome early boot logic
into a separate helper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230531125535.676098-23-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
