]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] mtdoops: Fix a bug where block may not be erased
authorRichard Purdie <rpurdie@rpsys.net>
Sat, 26 Jul 2008 08:25:18 +0000 (09:25 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 18 Oct 2008 10:51:48 +0000 (11:51 +0100)
commit43b5693d404127697d62962def8c1bfe3a89811a
treee671dbb20fb4bd50d8bb994aabbfe0459729176b
parentf0482ee3669a78bdb1e15b9f9c58a9f1ffc5a997
[MTD] mtdoops: Fix a bug where block may not be erased

This makes the driver erase a block when it doesn't find any
existing saved log messages which is safer than assuming the
flash was already erased.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdoops.c