]> 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)
commit8928aca3f5f4364a8b58901f59d2f576205d4b51
treef37022c89b978004a95b3f454b098d8898b42ade
parent1e6cc0de7ceb7e38963edbd028f423399dedc0ef
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