copy filesystem to nand flash without ecc

David Woodhouse dwmw2 at infradead.org
Fri Feb 14 19:13:51 EST 2003


On Fri, 2003-02-14 at 22:37, Thomas Gleixner wrote:
> On Friday 14 February 2003 18:10, Alex Samoutin wrote:
> > But I can see call     mtd->write()  in  jffs2_flash_write() (wbuf.c).  It
> > is not ECC write.
> > This function invoked from jffs2_garbage_collect_pristine(). and   cause a
> > problem.
> Well spotted. Thanks.

Sorry. Mea Culpa. We really shouldn't have jffs2_flash_writev() writing
into the wbuf, which jffs2_flash_write() writes directly to the flash.
It'll confuse me into writing directly to the flash just because I have
only one iovec to write :)

-- 
dwmw2





More information about the linux-mtd mailing list