summaryrefslogtreecommitdiffstats
path: root/fs/proc/mmu.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-05-07 14:16:13 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-05-07 14:16:13 +0200
commitfcf3cafb3e7e7750f4876571492594c3a4854ee5 (patch)
tree803c98c2335c7fbb336cfca805ee500b6eae0b69 /fs/proc/mmu.c
parent[JFFS2] Remove broken insert_point optimisation in jffs2_add_tn_to_tree() (diff)
downloadlinux-fcf3cafb3e7e7750f4876571492594c3a4854ee5.tar.xz
linux-fcf3cafb3e7e7750f4876571492594c3a4854ee5.zip
[JFFS2] Remove another bogus optimisation in jffs2_add_tn_to_tree()
We attempted to insert new nodes into the tree by just using rb_replace_node to let them replace an earlier node which they completely overlapped. However, that could place the new node into the wrong place in the tree, since its start could be node only before the start of the victim, but before the node _before_ the victim in the tree (if that previous node actually ends _after_ the new node, thus isn't entirely overlapped and wasn't itself chosen to be the victim). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/proc/mmu.c')
0 files changed, 0 insertions, 0 deletions