BDGET_DISK

Section: Block Devices (9)
Updated: February 2011
Index Return to Main Contents
 

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.  

COPYRIGHT