[PATCH]CFI fix of kernel deadlock caused by get_chip recursion
dwmw2 at infradead.org
Sat Oct 20 09:56:54 EDT 2007
On Thu, 2007-10-18 at 15:15 +0100, Alexey Korolev wrote:
> This patch solves kernel deadlock issue seen on JFFF2 simultaneous operations.
> Detailed investigation of the issue showed that the kernel deadlock is caused bytons of recursive get_chip calls.
> MTD:CFI: This fix removes recursion in get_chip function to avoid possible deadlock situation.
> Signed-off-by: Alexey Korolev <akorolev at infradead.org>
patching file drivers/mtd/chips/cfi_cmdset_0001.c
Hunk #1 FAILED at 85.
Hunk #2 FAILED at 642.
Hunk #3 FAILED at 664.
Hunk #4 FAILED at 743.
4 out of 4 hunks FAILED -- saving rejects to file drivers/mtd/chips/cfi_cmdset_0001.c.rej#
More information about the linux-mtd