]> err.no Git - linux-2.6/commit
[MTD] [NOR] Fix deadlock in Intel chip driver caused by get_chip recursion
authorAlexey Korolev <akorolev@infradead.org>
Mon, 22 Oct 2007 16:55:20 +0000 (17:55 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 23 Oct 2007 11:07:52 +0000 (12:07 +0100)
commit5a37cf19efcceae14c2078449e35b9f4eb3e63e4
tree4d4bb74499d093aa9a921e72875d223f15506657
parent2a754b51aacb122cec25c849e3cf7f5503cc3ec6
[MTD] [NOR] Fix deadlock in Intel chip driver caused by get_chip recursion

This patch solves kernel deadlock issue seen on JFFF2 simultaneous
operations. Detailed investigation of the issue showed that the kernel
deadlock is caused by tons of recursive get_chip calls.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c