Message ID | 1457390087-913-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index e0bf361..3f82998 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1161,6 +1161,8 @@ static void dm_unprep_request(struct request *rq) if (clone) free_rq_clone(clone); + else if (!tio->md->queue->mq_ops) + free_rq_tio(tio); } /*