[dm-devel] [PATCH 1/1] dm: Update comment

Pavel Begunkov (Silence) asml.silence at gmail.com
Thu Jun 20 17:50:50 UTC 2019


From: Pavel Begunkov <asml.silence at gmail.com>

Since Commit a1ce35fa49852db60fc6e268 ("block: remove dead elevator
code") blk_end_request() has been replaced with blk_mq_end_request().
Update comment

Signed-off-by: Pavel Begunkov <asml.silence at gmail.com>
---
 drivers/md/dm-rq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c
index 5f7063f05ae0..c9e44ac1f9a6 100644
--- a/drivers/md/dm-rq.c
+++ b/drivers/md/dm-rq.c
@@ -115,7 +115,7 @@ static void end_clone_bio(struct bio *clone)
 
 	/*
 	 * Update the original request.
-	 * Do not use blk_end_request() here, because it may complete
+	 * Do not use blk_mq_end_request() here, because it may complete
 	 * the original request before the clone, and break the ordering.
 	 */
 	if (is_last)
-- 
2.22.0




More information about the dm-devel mailing list