Inode reference counting wrong for jffs2
Andrew Lunn
andrew@lunn.ch
Tue Jan 27 10:50:00 GMT 2004
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
More information about the Ecos-patches
mailing list