1. 08 5月, 2007 1 次提交
  2. 07 5月, 2007 1 次提交
    • D
      [JFFS2] Remove another bogus optimisation in jffs2_add_tn_to_tree() · fcf3cafb
      David Woodhouse 提交于
      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: NDavid Woodhouse <dwmw2@infradead.org>
      fcf3cafb
  3. 06 5月, 2007 1 次提交
    • D
      [JFFS2] Remove broken insert_point optimisation in jffs2_add_tn_to_tree() · 96dd8d25
      David Woodhouse 提交于
      The original code would remember, during the first pass over the tree,
      a suitable place to start the insertion from when we eventually come
      to add a new node.
      
      The optimisation was broken, and we sometimes ended up inserting a new
      node in the wrong place because we started the insertion from the wrong
      point.
      
      Just ditch the optimisation and start the insertion from the root of the
      tree, for now. I'll try it again when I'm feeling cleverer.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      96dd8d25
  4. 05 5月, 2007 2 次提交
  5. 03 5月, 2007 2 次提交
  6. 02 5月, 2007 7 次提交
  7. 28 4月, 2007 26 次提交