Hi Bard,
I'm glad to fix this program. I'm a newbie of YAFFS, even I very like it. If Charles agaree me to do, I need some suggentions. It is simple to fix this bug, but let system working fine in same questions, I have no idea yet.
thanks alot.
Regards,
Russell.
----- Original Message -----
From: "Brad Beveridge" <
Brad.Beveridge@trimble.co.nz>
To: <
guo@unication.com.cn>
Sent: Friday, December 05, 2003 6:05 AM
Subject: RE: maybe I found a bug?
> I'm sure Charles would love a diff file for the fix :)
> You can mail him at manningc2@actrix.gen.nz
>
> Cheers
> Brad
>
> > -----Original Message-----
> > From: guo@unication.com.cn [mailto:guo@unication.com.cn]
> > Sent: Thursday, December 04, 2003 11:27 PM
> > To: yaffs@toby-churchill.org
> > Subject: Re: maybe I found a bug?
> >
> >
> > Hi, All,
> > We checked the source codes of YAFFS and found that
> > problem: The unlink of regular file is different from special
> > file(including socket, device and directory). When unlinked,
> > YAFFS delete special file from YAFFS object hash table, but
> > the inode->i_count remains unchanged. We think that yaffs
> > should not delete the special file when the inode->i_count is
> > not 0, because deleting from hash table means freeing YAFFS object.
> > Currently we avoid this by mount any directories which
> > will create special file and immediately unlink in tmpfs.
> >
> > We think this bug(if this is a bug) is easy to fix.
> > Anyone would do, or we do it?
> >
> > Regards,
> > Russell Greece , Timmy Lee
> >
> > ----- Original Message -----
> > From: <guo@unication.com.cn>
> > To: <yaffs@toby-churchill.org>
> > Sent: Thursday, December 04, 2003 2:28 PM
> > Subject: maybe I found a bug?
> >
> >
> > > this email is a copy of my last one, the program is
> > > attached.N™ŠŠ²µÉÈ–z~ÂÉ–€jž²™²Š–zžÊjšÊ±~¶ŠÊvjj£~ª¶É–ƒ†µºn‰Šºzµ²²
> >
>