Name

bdget_disk — do bdget by gendisk and partition number

Synopsis

struct block_device * bdget_disk (struct gendisk * disk,
 int partno);
 

Arguments

disk

gendisk of interest

partno

partition number

Description

Find partition partno from disk, do bdget on it.

Context

Don't care.

Return

Resulting block_device on success, NULL on failure.