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.24-rc1~1364^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b8ba7bfe7b4c1f11b3356b65520405b005bd33;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