diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-08-19 14:13:11 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 02:56:03 -0400 |
commit | 710027a48ede75428cc68eaa8ae2269b1e356e2c (patch) | |
tree | 22cba18860b83b03613bad97c405fb5146a2d686 /block/genhd.c | |
parent | 5b99c2ffa980528a197f26c7d876cceeccce8dd5 (diff) |
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 <randy.dunlap@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/genhd.c b/block/genhd.c index e0ce23ac2ece..c114a43052de 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -211,10 +211,11 @@ void unlink_gendisk(struct gendisk *disk) | |||
211 | 211 | ||
212 | /** | 212 | /** |
213 | * get_gendisk - get partitioning information for a given device | 213 | * get_gendisk - get partitioning information for a given device |
214 | * @dev: device to get partitioning information for | 214 | * @devt: device to get partitioning information for |
215 | * @part: returned partition index | ||
215 | * | 216 | * |
216 | * This function gets the structure containing partitioning | 217 | * This function gets the structure containing partitioning |
217 | * information for the given device @dev. | 218 | * information for the given device @devt. |
218 | */ | 219 | */ |
219 | struct gendisk *get_gendisk(dev_t devt, int *part) | 220 | struct gendisk *get_gendisk(dev_t devt, int *part) |
220 | { | 221 | { |