From: Artem Bityutskiy Date: Mon, 29 Jun 2009 14:59:23 +0000 (+0300) Subject: UBIFS: small amendments in the LEB scanning code X-Git-Tag: Release-2010-05/1~3^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134d0e9f824b8722f522c7091af16b14bc67cd87;p=pandora-kernel.git UBIFS: small amendments in the LEB scanning code This patch fixes few minor things I've spotted while going through code: 1. Better document return codes 2. If 'ubifs_scan_a_node()' returns some thing we do not expect, treat this as an error. 3. Try to do recovery only when 'ubifs_scan()' returns %-EUCLEAN, not on any error. 4. If empty space starts at a non-aligned address, print a message. Signed-off-by: Artem Bityutskiy Reviewed-by: Adrian Hunter --- Reading git-diff-tree failed