From: Adrian Hunter Date: Thu, 29 Mar 2007 08:00:47 +0000 (+0300) Subject: [JFFS2] Prevent list corruption when handling write errors X-Git-Tag: v2.6.22-rc1~1116^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c2594f0e13de1ca84f97efc3f9e7bc49f91e11;p=pandora-kernel.git [JFFS2] Prevent list corruption when handling write errors If a write error occurs, the affected block is placed on the bad_used_list. In the case that the write error occured when writing summary data the block was also being placed on the dirty_list, which caused list corruption and ultimately a soft lockup in jffs2_mark_node_obsolete. This fixes that. Signed-off-by: Adrian Hunter Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed