summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-24 11:02:41 +0100
committerJens Axboe <axboe@kernel.dk>2021-01-24 18:17:20 -0700
commita33df75c6328bf40078b35f2040d8e54d574c357 (patch)
tree626774ed34ff318daa8bc68beae36acdf28661ba /block/blk.h
parent0470dd9d5f103e7f1d5ba8f755f687c3106c7df1 (diff)
downloadlinux-a33df75c6328bf40078b35f2040d8e54d574c357.tar.bz2
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.h1
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,