UBI: fix bug in atomic_leb_change()
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 4 Jul 2007 13:16:51 +0000 (16:16 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:56:24 +0000 (16:56 +0300)
commit84a925806210e002fab29966c09b9c92f382a79d
treea1914318f425b387190030f0765c57a6d1b5627a
parenta6ded48e34f803fcbb42719cee452d1f18938ec7
UBI: fix bug in atomic_leb_change()

atomic_leb_change() is only allowed for dynamic volumes, so set
the volume type correctly.

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