]> err.no Git - linux-2.6/commit
UBI: bugfix in ubi_leb_change()
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 21 May 2007 17:26:05 +0000 (20:26 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:53:57 +0000 (16:53 +0300)
commita443db48e05a8d2d8db0a17409655c58da65a35e
treebecf7ff602745c657d2d07a7354ba7cca0fe20c7
parent3261ebd7d4194ff30d0eae7ba8d937dcccf7235d
UBI: bugfix in ubi_leb_change()

Do not call 'ubi_wl_put_peb()' if the LEB was unmapped.

Reported-by: Gabor Loki <loki@inf.u-szeged.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/eba.c