]> err.no Git - linux-2.6/commit
UBI: fix freeing ubi->vtbl while unloading
authorVinit Agnihotri <vinit.agnihotri@gmail.com>
Fri, 15 Jun 2007 10:01:22 +0000 (15:31 +0530)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:54:15 +0000 (16:54 +0300)
commitd7f0c4dc31f1297a613f1e61a7d682dc9a5e859a
treecdc9e28d8708774e174ad7baf78c67b71a34d57e
parent21600546ab84e451adb88771b52b64b97866a444
UBI: fix freeing ubi->vtbl while unloading

ubi->vtbl is allocated using vmalloc() in vtbl.c empty_create_lvol(),
but it is freed in build.c with kfree()

Signed-off-by: Vinit Agnihotri <vinit.agnihotri@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c