Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4584
b: refs/heads/master
c: 6430a8d
h: refs/heads/master
v: v3
  • Loading branch information
Artem B. Bityuckiy authored and Thomas Gleixner committed Jul 6, 2005
1 parent 7485306 commit 6ffd7af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 265489f01d8c05f7aae174651a98854af090efc0
refs/heads/master: 6430a8def12edebc1c9c7c2621d33ca0e8653c33
9 changes: 4 additions & 5 deletions trunk/fs/jffs2/nodelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
* $Id: nodelist.c,v 1.95 2005/07/05 21:03:07 dwmw2 Exp $
* $Id: nodelist.c,v 1.97 2005/07/06 15:18:41 dwmw2 Exp $
*
*/

Expand Down Expand Up @@ -69,12 +69,11 @@ static void jffs2_add_tn_to_list(struct jffs2_tmp_dnode_info *tn, struct rb_root
parent = *p;
this = rb_entry(parent, struct jffs2_tmp_dnode_info, rb);

/* There may actually be a collision here, but it doesn't
actually matter. As long as the two nodes with the same
version are together, it's all fine. */
if (tn->version < this->version)
p = &(*p)->rb_left;
else if (tn->version > this->version)
p = &(*p)->rb_right;
else if (tn < this)
p = &(*p)->rb_left;
else
p = &(*p)->rb_right;
}
Expand Down

0 comments on commit 6ffd7af

Please sign in to comment.