[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)
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>

No differences found