[PATCH] NULLify ->raw after jffs2_mark_node_obsolete().

David Woodhouse dwmw2 at infradead.org
Tue Oct 30 22:47:03 EDT 2007


On Tue, 2007-10-30 at 18:39 +0100, Joakim Tjernlund wrote:
> Per Davids request, NULLify ->raw pointers to catch
> errors early.

Er, did I request that? I wanted you to do that in jffs2_do_unlink(),
and you did -- but that was because your previous iteration of the patch
was leaving fd->raw pointing to the _older_, now-obsolete dirent node,
which could then get marked obsolete again later (at the site of the
second hunk of your first patch).

-- 
dwmw2




More information about the linux-mtd mailing list