Re: [Yaffs] Is it a bug of yaffs_ResizeFile() ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Is it a bug of yaffs_ResizeFile() ?
On Monday 12 March 2007 19:36, Charles Manning wrote:
> On Sunday 11 March 2007 05:32, falls huang wrote:
> > Hello all !
> >
> >    I use "dd of=/mnt/yaffs2/vfat.img bs=1024 seek=1800000 count=0" to
> > create a large file in yaffs2 quickly, but I found when I
> > umount/remount it , the filesize of vfat.img reduce to zero. I
> > searched the source of yaffs2 and I found it's the problem of
> > yaffs_ResizeFile() , so I wrote a simple patch. I don't know if the
> > patch is right , but anyway it worked well in my board.

>
> From a quick look, it does look like there is a bug here.
>
> I will confirm this and sort it out.


This is now fixed in cvs.

-- CHarles