diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 70d5b82a353a..be4905769a45 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1254,9 +1254,9 @@ static void dm_requeue_original_request(struct mapped_device *md, { int rw = rq_data_dir(rq); + rq_end_stats(md, rq); dm_unprep_request(rq); - rq_end_stats(md, rq); if (!rq->q->mq_ops) dm_old_requeue_request(rq); else