Commit d370ad23 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Mike Snitzer

dm: update stale comment in end_clone_bio()

Since commit a1ce35fa ("block: remove dead elevator
code") blk_end_request() has been replaced with blk_mq_end_request().
So update comment to reference blk_mq_end_request() accordingly.
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 7537dad7
...@@ -115,7 +115,7 @@ static void end_clone_bio(struct bio *clone) ...@@ -115,7 +115,7 @@ static void end_clone_bio(struct bio *clone)
/* /*
* Update the original request. * 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. * the original request before the clone, and break the ordering.
*/ */
if (is_last) if (is_last)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment