]> git.baikalelectronics.ru Git - kernel.git/commit
block: rework requesting modules for unclaimed devices
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 14:58:27 +0000 (15:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:30 +0000 (08:14 -0700)
commit18827a470cfcb8514b454642f8ffb6a5cde40112
treef37022c89b978004a95b3f454b098d8898b42ade
parent148a620e28a7b9ccea726559e17e43dd8f84a269
block: rework requesting modules for unclaimed devices

Instead of reusing the ranges in bdev_map, add a new helper that is
called if no ranges was found.  This is a first step to unpeel and
eventually remove the complex ranges structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c