Re: Possible bug in file truncation code

Andrew Lunn <[email protected]> Fri, 25 Feb 2005 21:28:20 +0100
Newsgroups gmane.linux.file-systems.jffs
Message-ID <[email protected]>
> Any truncation (to zero, or to any other length) should first write a
> new node with the appropriate i_size, before calling
> jffs2_truncate_fraglist().

Thanks David, that was what was wrong. The eCos code just set the
inode->isize to zero and did not create any new node.

I just committed the patch to eCos and mtd.

        Andrew

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to [email protected]