Skip to contentSkip to conversation

block:fix the comment error in blkdev.h

PATCH Applied Wanlong Gao 2 participants 2 messages Jun 11, 2011 – Jun 13, 2011 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block:fix the comment error in blkdev.h

There is not a function rq_init but blk_rq_init in block/blk-core.c.

---
 include/linux/blkdev.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/blkdev.h +1 -1
index 1a23722..36f2e2b 100644
@@ -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 {
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 1 line · Wanlong Gao

There is not a function rq_init but blk_rq_init in block/blk-core.c.

Thanks, applied.

Signature · 1 line
Jens Axboe