mtd/fs/jffs2 scan.c,1.118,1.119
Artem Bityuckiy
dedekind at infradead.org
Thu Feb 17 12:51:17 EST 2005
- Previous message: mtd/util compr.c, 1.6, 1.7 flash_eraseall.c, 1.21, 1.22 flashcp.c,
1.4, 1.5 mkfs.jffs.c, 1.13, 1.14 mkfs.jffs2.c, 1.43,
1.44 nanddump.c, 1.26, 1.27 sumtool.c, 1.2, 1.3
- Next message: mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.167,1.168
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv7900
Modified Files:
scan.c
Log Message:
Look the ref->next_phys field instead of ->next_in_ino to determine if the block has more then one node.
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- scan.c 9 Feb 2005 09:23:53 -0000 1.118
+++ scan.c 17 Feb 2005 17:51:13 -0000 1.119
@@ -433,7 +433,7 @@
/* If we're only checking the beginning of a block with a cleanmarker,
bail now */
if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) &&
- c->cleanmarker_size && !jeb->dirty_size && !jeb->first_node->next_in_ino) {
+ c->cleanmarker_size && !jeb->dirty_size && !jeb->first_node->next_phys) {
D1(printk(KERN_DEBUG "%d bytes at start of block seems clean... assuming all clean\n", EMPTY_SCAN_SIZE(c->sector_size)));
return BLK_STATE_CLEANMARKER;
}
@@ -629,7 +629,7 @@
}
if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size
- && (!jeb->first_node || !jeb->first_node->next_in_ino) )
+ && (!jeb->first_node || !jeb->first_node->next_phys) )
return BLK_STATE_CLEANMARKER;
/* move blocks with max 4 byte dirty space to cleanlist */
- Previous message: mtd/util compr.c, 1.6, 1.7 flash_eraseall.c, 1.21, 1.22 flashcp.c,
1.4, 1.5 mkfs.jffs.c, 1.13, 1.14 mkfs.jffs2.c, 1.43,
1.44 nanddump.c, 1.26, 1.27 sumtool.c, 1.2, 1.3
- Next message: mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.167,1.168
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list