mtd/fs/jffs2 scan.c,1.79,1.80
gleixner at infradead.org
gleixner at infradead.org
Sat Aug 17 18:29:31 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv24052
Modified Files:
scan.c
Log Message:
cosmetic
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- scan.c 25 Jul 2002 20:48:51 -0000 1.79
+++ scan.c 17 Aug 2002 22:29:28 -0000 1.80
@@ -420,7 +420,7 @@
if (jeb->used_size == PAD(sizeof(struct jffs2_unknown_node)) &&
!jeb->first_node->next_in_ino && !jeb->dirty_size)
return BLK_STATE_CLEANMARKER;
- else if (jeb->used_size > c->sector_size - (2*sizeof(struct jffs2_raw_inode)))
+ else if (!ISDIRTY(c, jeb->used_size))
return BLK_STATE_CLEAN;
else if (jeb->used_size)
return BLK_STATE_PARTDIRTY;
More information about the linux-mtd-cvs
mailing list