From: Artem Bityutskiy Date: Mon, 23 Jul 2007 13:06:50 +0000 (+0300) Subject: [MTD] [NAND] fix race in nand_base.c X-Git-Tag: v2.6.23-rc2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06a7643cd3d440a1d15a6b3aa7ee431f3f4791b4;p=pandora-kernel.git [MTD] [NAND] fix race in nand_base.c When we mark block bad we have to get chip because this involves writing to the page's OOB. We hit this bug in UBI - we observed random obscure crashes when it marks block bad from the background thread and there is some parallel task which utilizes flash. This patch also adds a TODO note about BBT table protection which it seems does not exist. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed