Now that bdev_map is only used for finding gendisks, we can useReviewed-by: Hannes Reinecke <hare@xxxxxxx>
a simple xarray instead of the regions tracking structure for it.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
block/genhd.c | 208 ++++++++----------------------------------
include/linux/genhd.h | 7 --
2 files changed, 37 insertions(+), 178 deletions(-)