1. NAME

disk_expand_part_tbl - expand disk->part_tbl

2. SYNOPSIS

int disk_expand_part_tbl(struct gendisk *  disk , int  partno );

3. ARGUMENTS

disk
    disk to expand part_tbl for

partno
    expand such that this partno can fit in

4. 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.

5. LOCKING

Matching bd_mutex locked, might sleep.

6. RETURNS

0 on success, -errno on failure.

7. COPYRIGHT