Skip to content

Commit

Permalink
block:fix the comment error in blkdev.h
Browse files Browse the repository at this point in the history
There is not a function rq_init but blk_rq_init in block/blk-core.c.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
  • Loading branch information
Wanlong Gao authored and Jens Axboe committed Jun 13, 2011
1 parent df41565 commit 4d0d98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ enum rq_cmd_type_bits {

/*
* try to put the fields that are referenced together in the same cacheline.
* if you modify this structure, be sure to check block/blk-core.c:rq_init()
* if you modify this structure, be sure to check block/blk-core.c:blk_rq_init()
* as well!
*/
struct request {
Expand Down

0 comments on commit 4d0d98b

Please sign in to comment.