From: Artem Bityutskiy Date: Tue, 25 Aug 2009 13:22:53 +0000 (+0300) Subject: UBIFS: check ubifs_scan error codes better X-Git-Tag: Release-2010-05/1~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eafcc45ea836cbee64cef035a12cb5d6ff2fd242;p=pandora-kernel.git UBIFS: check ubifs_scan error codes better The 'ubifs_scan()' function returns -EUCLEAN if something is corrupted and recovery is needed, otherwise it returns other error codes. However, in few places UBIFS does not check the error codes and runs recovery. This patch changes this behavior and makes UBIFS start recovery only on -EUCLEAN errors. Signed-off-by: Artem Bityutskiy Reviewed-by: Adrian Hunter --- Reading git-diff-tree failed