[PATCH] [JFFS2] Prevent list corruption when handling write errors

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Mar 29 05:52:53 EDT 2007


On Thu, 2007-03-29 at 11:00 +0300, Adrian Hunter wrote:
> 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.

I thougth that node obsoleting was disabled when summary is active?

 Jocke




More information about the linux-mtd mailing list