]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[JFFS2] Fix obsoletion of metadata nodes in jffs2_add_tn_to_tree()
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 1 Jun 2007 19:04:43 +0000 (20:04 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 1 Jun 2007 19:04:43 +0000 (20:04 +0100)
commit0477d24e2a87a9077b62298b01b031929f5cf2a2
tree3c9c925bbdfb1d2b77559653ef30c1b734e331ef
parent718ea8361b15aec5f4cb559d63ba34bc5a58d8f9
[JFFS2] Fix obsoletion of metadata nodes in jffs2_add_tn_to_tree()

We should keep the mdata node with higher version number, not just the
one we happen to find latest. Doh.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/readinode.c