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.

RETURNS

Resulting block_device on success, NULL on failure.