Skip to content

Commit 4d0d98b

Browse files
gaowanlongJens Axboe
authored andcommitted
block:fix the comment error in blkdev.h
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>
1 parent df41565 commit 4d0d98b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/blkdev.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ enum rq_cmd_type_bits {
7373

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

0 commit comments

Comments
 (0)