Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4522
b: refs/heads/master
c: 437316d
h: refs/heads/master
v: v3
  • Loading branch information
Artem B. Bityuckiy authored and Thomas Gleixner committed May 23, 2005
1 parent 96e3fbd commit fbb4674
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: a42163d7c331c2532551f675d6616a00e1e87fe9
refs/heads/master: 437316d9b5ea142ca7ab9ef131c28506c407d1d6
4 changes: 2 additions & 2 deletions trunk/fs/jffs2/erase.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: erase.c,v 1.72 2005/02/27 23:01:32 dwmw2 Exp $
* $Id: erase.c,v 1.74 2005/03/20 17:46:20 dedekind Exp $
*
*/

Expand Down Expand Up @@ -277,7 +277,7 @@ static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c,
printk("\n");
});

if (ic->nodes == (void *)ic)
if (ic->nodes == (void *)ic && ic->nlink == 0)
jffs2_del_ino_cache(c, ic);
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/jffs2/nodemgmt.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: nodemgmt.c,v 1.119 2005/02/28 08:21:05 dedekind Exp $
* $Id: nodemgmt.c,v 1.120 2005/03/20 17:46:20 dedekind Exp $
*
*/

Expand Down Expand Up @@ -594,7 +594,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref
*p = ref->next_in_ino;
ref->next_in_ino = NULL;

if (ic->nodes == (void *)ic)
if (ic->nodes == (void *)ic && ic->nlink == 0)
jffs2_del_ino_cache(c, ic);

spin_unlock(&c->erase_completion_lock);
Expand Down

0 comments on commit fbb4674

Please sign in to comment.