]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
UBI: fix error path in create_vtbl()
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 5 May 2007 08:24:02 +0000 (11:24 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:52:32 +0000 (16:52 +0300)
commit78d87c95b89ccf86c142494beada3082810ed368
treebb2bc3d2b11e2990376d25e13c94aeb50380a0c4
parentc4e90ec0134d7bedebbe3fe58ed5d431293886d4
UBI: fix error path in create_vtbl()

There were several bugs in volume table creation error path. Thanks to
Satyam Sharma <satyam.sharma@gmail.com> and Florin Malita <fmalita@gmail.com>
for finding and analysing them: http://lkml.org/lkml/2007/5/3/274

This patch makes ubi_scan_add_to_list() static and renames it to
add_to_list(), just because it is not needed outside scan.c anymore.

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