UBI: bugfix - do not torture PEB needlessly
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 18 Jul 2008 09:42:14 +0000 (12:42 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Jul 2008 10:34:46 +0000 (13:34 +0300)
commit4d88de4beb6f327dfc7c2221eab532dad5b2bb3e
tree08493144ffc09243a4f4f97810c87bd6db4ffac9
parent8c1e6ee10bd87d70faada065a8d1f70732c17382
UBI: bugfix - do not torture PEB needlessly

This is probably a copy-paste bug - we torture the old PEB
in the atomic LEB change function, but we should not do this.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/eba.c