From: Artem Bityutskiy Date: Sat, 5 May 2007 08:24:02 +0000 (+0300) Subject: UBI: fix error path in create_vtbl() X-Git-Tag: v2.6.23-rc1~495^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d87c95b89ccf86c142494beada3082810ed368;p=pandora-kernel.git UBI: fix error path in create_vtbl() There were several bugs in volume table creation error path. Thanks to Satyam Sharma and Florin Malita 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 --- Reading git-diff-tree failed