Skip to content
Permalink
Browse files

Revert "mmc: block: release the tag set associated to mmc queue."

This reverts commit 8a86f7d.

There is already an official correction for this leak issue:
003cf67
It is integrated since 4.19.45.
Our internal patch can then be reverted, as it leaded to double free.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I0a83d401ad7b6dfb3adc92d960e0d836444c9d4b
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/137467
Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
Reviewed-by: CIBUILD <smet-aci-builds@lists.codex.cro.st.com>
Reviewed-by: Christophe KERELLO <christophe.kerello@st.com>
  • Loading branch information...
Yann-lms authored and atorgue committed Jul 1, 2019
1 parent bfcec33 commit 31915824449c1bb4654812835b77f02307f847fb
Showing with 0 additions and 1 deletion.
  1. +0 −1 drivers/mmc/core/queue.c
@@ -503,7 +503,6 @@ void mmc_cleanup_queue(struct mmc_queue *mq)
*/
flush_work(&mq->complete_work);

blk_mq_free_tag_set(&mq->tag_set);
mq->card = NULL;
}

0 comments on commit 3191582

Please sign in to comment.
You can’t perform that action at this time.