From: Simon Kagstrom Date: Thu, 29 Oct 2009 12:41:11 +0000 (+0100) Subject: mtd: mtdoops: keep track of used/unused pages in an array X-Git-Tag: v2.6.33-rc1~66^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be95745f01677245a061a8f51473ef5ec8ad008e;p=pandora-kernel.git mtd: mtdoops: keep track of used/unused pages in an array This patch makes mtdoops keep track of used/unused pages in an array instead of scanning the flash after a write. The advantage with this approach is that it avoids calling mtd->read on a panic, which is not possible for all mtd drivers. Signed-off-by: Simon Kagstrom Reviewed-by: Anders Grafstrom Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed