UBI: do not forget to free internal volumes
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 4 Jun 2008 14:00:35 +0000 (17:00 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Jul 2008 10:32:55 +0000 (13:32 +0300)
commit505d1caa79cd61a70615e9a7eae2eab85e797a83
treeada8f0335b143287bbcec0453c5c5a92d4549102
parentabc5e92262d87f9c5c628492bffc55f81c7dcb80
UBI: do not forget to free internal volumes

UBI forgets to free internal volumes when detaching MTD device.
Fix this.

Pointed-out-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c