Re: [syzbot] possible deadlock in loop_add

From: Christoph Hellwig
Date: Mon Jul 12 2021 - 01:27:54 EST


On Sat, Jul 10, 2021 at 09:16:38PM +0800, Hillf Danton wrote:
> To break the lock chain, un/register blkdev without mtd_table_mutex held.

Yes, Desmond Cheong Zhi Xi sent pretty much the same patch on June 18th
(mtd: break circular locks in register_mtd_blktrans), but it did not get
picked up.