]> git.baikalelectronics.ru Git - kernel.git/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)
commit792a701ea406bee7dcdf08570314e90d5ec43dfa
treebecf7ff602745c657d2d07a7354ba7cca0fe20c7
parente18acf99dbec141276ba56f2ec7e4826bca1e619
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