mtd/fs/jffs2 scan.c,1.92,1.93
Joakim Tjernlund
jocke at infradead.org
Mon Oct 21 09:42:32 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv13519
Modified Files:
scan.c
Log Message:
Updated to match new unpoint() function.
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- scan.c 9 Sep 2002 16:29:08 -0000 1.92
+++ scan.c 21 Oct 2002 13:42:29 -0000 1.93
@@ -81,7 +81,7 @@
if (!ret && pointlen < c->mtd->size) {
/* Don't muck about if it won't let us point to the whole flash */
D1(printk(KERN_DEBUG "MTD point returned len too short: 0x%x\n", pointlen));
- c->mtd->unpoint(c->mtd, flashbuf);
+ c->mtd->unpoint(c->mtd, flashbuf, 0, c->mtd->size);
flashbuf = NULL;
}
if (ret)
@@ -238,7 +238,7 @@
if (buf_size)
kfree(flashbuf);
else
- c->mtd->unpoint(c->mtd, flashbuf);
+ c->mtd->unpoint(c->mtd, flashbuf, 0, c->mtd->size);
return 0;
}
More information about the linux-mtd-cvs
mailing list