diff mbox

block: correct description for blk_execute_rq* in blk-exec.c

Message ID 1462327424-4088-1-git-send-email-shhuiw@foxmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shenghui Wang May 4, 2016, 2:03 a.m. UTC
blk_execute_rq* has param @at_head to point out head or tail
for insertion. No "back" only.

Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
---
 block/blk-exec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/block/blk-exec.c b/block/blk-exec.c
index 3fec8a2..44f43cf 100644
--- a/block/blk-exec.c
+++ b/block/blk-exec.c
@@ -42,8 +42,8 @@  static void blk_end_sync_rq(struct request *rq, int error)
  * @done:	I/O completion handler
  *
  * Description:
- *    Insert a fully prepared request at the back of the I/O scheduler queue
- *    for execution.  Don't wait for completion.
+ *    Insert a fully prepared request at head or tail of the I/O scheduler
+ *    queue for execution.  Don't wait for completion.
  *
  * Note:
  *    This function will invoke @done directly if the queue is dead.
@@ -93,8 +93,8 @@  EXPORT_SYMBOL_GPL(blk_execute_rq_nowait);
  * @at_head:    insert request at head or tail of queue
  *
  * Description:
- *    Insert a fully prepared request at the back of the I/O scheduler queue
- *    for execution and wait for completion.
+ *    Insert a fully prepared request at head or tail of the I/O scheduler
+ *    queue for execution and wait for completion.
  */
 int blk_execute_rq(struct request_queue *q, struct gendisk *bd_disk,
 		   struct request *rq, int at_head)