]> www.infradead.org Git - users/hch/block.git/commit
block: rework requesting modules for unclaimed devices
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Aug 2020 09:04:00 +0000 (11:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 17:26:33 +0000 (18:26 +0100)
commitb93b80d88692fa08b543a3913f8799ea53706d8b
tree5ff0a8d3fe4ea294731d1dc77881847c88a98b41
parent093ca50f4ddb2b4116d0e957a676c6fb986acd9b
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>
block/genhd.c