1. NAME

disk_get_part - get partition

2. SYNOPSIS

struct hd_struct * disk_get_part(struct gendisk *  disk , int  partno );

3. ARGUMENTS

disk
    disk to look partition from

partno
    partition number

4. DESCRIPTION

Look for partition partno from disk. If found, increment reference count and return it.

5. CONTEXT

DonAqt care.

6. RETURNS

Pointer to the found partition on success, NULL if not found.

7. COPYRIGHT