瀏覽代碼

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>
Wanlong Gao 14 年之前
父節點
當前提交
4d0d98b60e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/blkdev.h

+ 1 - 1
include/linux/blkdev.h

@@ -73,7 +73,7 @@ enum rq_cmd_type_bits {
 
 
 /*
 /*
  * try to put the fields that are referenced together in the same cacheline.
  * 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!
  * as well!
  */
  */
 struct request {
 struct request {