Add some block/ source files to the kernel-api docbook. Fix kernel-doc notation in them as needed. Fix changed function parameter names. Fix typos/spellos. In comments, change REQ_SPECIAL to REQ_TYPE_SPECIAL and REQ_BLOCK_PC to REQ_TYPE_BLOCK_PC.

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Randy Dunlap 2008-08-19 20:13:11 +02:00 • committed by Jens Axboe
commit 710027a48e
8 changed files with 64 additions and 59 deletions

View file

@ -211,10 +211,11 @@ void unlink_gendisk(struct gendisk *disk)
/**
* get_gendisk - get partitioning information for a given device
* @dev: device to get partitioning information for
* @devt: device to get partitioning information for
* @part: returned partition index
*
* This function gets the structure containing partitioning
* information for the given device @dev.
* information for the given device @devt.
*/
struct gendisk *get_gendisk(dev_t devt, int *part)
{