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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 block/blk-exec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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)
-- 
2.7.4



--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux