mtd/fs/jffs2 scan.c,1.94,1.95
gleixner at infradead.org
gleixner at infradead.org
Mon Nov 25 16:14:13 EST 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv30107
Modified Files:
scan.c
Log Message:
tglx blames himself for fixing one problem and creating a new one
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- scan.c 25 Nov 2002 20:11:40 -0000 1.94
+++ scan.c 25 Nov 2002 21:14:10 -0000 1.95
@@ -596,9 +596,10 @@
jeb->wasted_size = 0;
}
- if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && (
- !jeb->first_node || (jeb->first_node->next_in_ino && !jeb->dirty_size)))
+ if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size
+ && (!jeb->first_node || jeb->first_node->next_in_ino) )
return BLK_STATE_CLEANMARKER;
+
/* move blocks with max 4 byte dirty space to cleanlist */
else if (!ISDIRTY(c->sector_size - (jeb->used_size + jeb->unchecked_size))) {
c->dirty_size -= jeb->dirty_size;
More information about the linux-mtd-cvs
mailing list