On Mon, Oct 26, 2015 at 07:38:49PM -0700, Brian Norris wrote: > Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing > mtd->usecount") fixed a race condition but due to poor ordering of the > mutex acquisition, introduced a potential deadlock. [...] > > Fixes: 073db4a51ee4 ("mtd: fix: avoid race condition when accessing mtd->usecount") > Reported-by: Felipe Balbi <balbi@xxxxxx> > Tested-by: Felipe Balbi <balbi@xxxxxx> > Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> Pushed to l2-mtd.git. > --- > Resending as a proper patch > > Note: I tried to reproduce this lockdep warning myself but couldn't. But I saw > no problem under the new patch either. -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html