diff options
author | 2021-01-24 11:02:41 +0100 | |
---|---|---|
committer | 2021-01-24 18:17:20 -0700 | |
commit | a33df75c6328bf40078b35f2040d8e54d574c357 (patch) | |
tree | 626774ed34ff318daa8bc68beae36acdf28661ba /block/blk.h | |
parent | block: remove DISK_PITER_REVERSE (diff) | |
download | linux-a33df75c6328bf40078b35f2040d8e54d574c357.tar.gz linux-a33df75c6328bf40078b35f2040d8e54d574c357.tar.bz2 linux-a33df75c6328bf40078b35f2040d8e54d574c357.zip |
block: use an xarray for disk->part_tbl
Now that no fast path lookups in the partition table are left, there is
no point in micro-optimizing the data structure for it. Just use a bog
standard xarray.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h index d965cacc5bda..ab0aaf958553 100644 --- a/block/blk.h +++ b/block/blk.h @@ -345,7 +345,6 @@ int bdev_add_partition(struct block_device *bdev, int partno, int bdev_del_partition(struct block_device *bdev, int partno); int bdev_resize_partition(struct block_device *bdev, int partno, sector_t start, sector_t length); -int disk_expand_part_tbl(struct gendisk *disk, int target); int bio_add_hw_page(struct request_queue *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset, |