]> git.baikalelectronics.ru Git - kernel.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)
commitda8fcee23682447f43a5a3554ac41858a8fddc0a
tree3c9c925bbdfb1d2b77559653ef30c1b734e331ef
parentef49213ac4284cafe755cb297fbe36ff6bf0222b
[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