This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inode reference counting wrong for jffs2


On Fri, Jan 09, 2004 at 02:54:50PM +0100, Thomas Koeller wrote:
> I found a bug fs-ecos.c. When creating a link, the
> code performed a check to ensure that the destination
> did not already exist. If no destination inode
> existed (the normal case), the code would nonetheless
> attempt to decrement its reference count. This would
> result in the reference count of the containing
> directory's inode instead.
> 
> The patch below fixes this.

Committed,

        Thanks
                Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]