summaryrefslogtreecommitdiffstats
path: root/kernel/slow-work.c
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2009-10-29 13:41:11 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 12:01:59 +0000
commitbe95745f01677245a061a8f51473ef5ec8ad008e (patch)
tree404004e0036b4e558aa47145e8c4b57b2079a343 /kernel/slow-work.c
parenta15b124fc4f15b2c4fc51669c936a30ce179d1f7 (diff)
downloadblackbird-op-linux-be95745f01677245a061a8f51473ef5ec8ad008e.tar.gz
blackbird-op-linux-be95745f01677245a061a8f51473ef5ec8ad008e.zip
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 <simon.kagstrom@netinsight.net> Reviewed-by: Anders Grafstrom <anders.grafstrom@netinsight.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'kernel/slow-work.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud