---
name: "disk_expand_part_tbl"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/disk_expand_part_tbl"
---

# disk\_expand\_part\_tbl(9)

expand disk-\>part\_tbl

## NAME

disk\_expand\_part\_tbl - expand disk-\>part\_tbl

## SYNOPSIS

**int disk\_expand\_part\_tbl(struct gendisk \*** *disk***, int** *partno***);**

## ARGUMENTS

*disk*

disk to expand part\_tbl for

*partno*

expand such that this partno can fit in

## DESCRIPTION

Expand disk-\>part\_tbl such that *partno* can fit in. disk-\>part\_tbl uses RCU to allow unlocked dereferencing for stats and other stuff.

LOCKING: Matching bd\_mutex locked, might sleep.

## RETURN

0 on success, -errno on failure.

## COPYRIGHT
