[PATCH] Revert "[JFFS2] Reduce time for which erase_free_sem is held during erase."

David Woodhouse dwmw2 at infradead.org
Fri Oct 5 17:00:05 EDT 2007


On Fri, 2007-10-05 at 18:26 +0300, Artem Bityutskiy wrote:
> This patch locks up the system because it takes the 'erase_free_sem'
> in the erase callback function, which is in turn called from
> NAND/OneNAND driver with NAND/OneNAND chip locked.

I think the real bug is the drivers calling the callback with their own
locks held, surely?

-- 
dwmw2




More information about the linux-mtd mailing list