disk_expand_part_tbl — expand disk->part_tbl
intdisk_expand_part_tbl(
)
struct gendisk * disk
disk to expand part_tbl for
int partno
expand such that this partno can fit in
Expand disk->part_tbl such thatpartno can fit in. disk->part_tbl uses RCU to allow unlocked dereferencing for stats and other stuff.
partno
LOCKING: Matching bd_mutex locked, might sleep.
0 on success, -errno on failure.