mtd/fs/jffs2 erase.c,1.68,1.69
Artem Bityuckiy
dedekind at infradead.org
Mon Dec 6 05:17:51 EST 2004
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv31417
Modified Files:
erase.c
Log Message:
Fix: move output to better place.
Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- erase.c 3 Dec 2004 08:45:02 -0000 1.68
+++ erase.c 6 Dec 2004 10:17:48 -0000 1.69
@@ -37,7 +37,6 @@
{
int ret;
uint32_t bad_offset;
- D1(printk(KERN_DEBUG "jffs2_erase_block(): erase block %#x (range %#x-%#x)\n", jeb->offset, jeb->offset, jeb->offset + c->sector_size));
#ifdef __ECOS
ret = jffs2_flash_erase(c, jeb);
if (!ret) {
@@ -48,6 +47,7 @@
#else /* Linux */
struct erase_info *instr;
+ D1(printk(KERN_DEBUG "jffs2_erase_block(): erase block %#x (range %#x-%#x)\n", jeb->offset, jeb->offset, jeb->offset + c->sector_size));
instr = kmalloc(sizeof(struct erase_info) + sizeof(struct erase_priv_struct), GFP_KERNEL);
if (!instr) {
printk(KERN_WARNING "kmalloc for struct erase_info in jffs2_erase_block failed. Refiling block for later\n");
More information about the linux-mtd-cvs
mailing list