Message ID | 1459455431-12687-116-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 3f82998..e066983 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1184,9 +1184,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) old_requeue_request(rq); else {