mtd/fs/jffs2 erase.c,1.66,1.67
Artem Bityuckiy
dedekind at infradead.org
Thu Dec 2 15:33:02 EST 2004
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv27085
Modified Files:
erase.c
Log Message:
Add useful debugging message about what block is erared.
Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- erase.c 16 Nov 2004 20:36:11 -0000 1.66
+++ erase.c 2 Dec 2004 20:32:59 -0000 1.67
@@ -37,6 +37,7 @@
{
int ret;
uint32_t bad_offset;
+ D1(printk(KERN_DEBUG "jffs2_erase_block(): erase block %#x (range %#x-%#x)\n", jeb->offset, jeb->offset + c->sector_size));
#ifdef __ECOS
ret = jffs2_flash_erase(c, jeb);
if (!ret) {
More information about the linux-mtd-cvs
mailing list