JFFS2 crash fix
Andrew Lunn
andrew@lunn.ch
Mon Aug 2 11:27:00 GMT 2004
> > This is not a complete fix. jffs2_iget can return 0 when malloc
> > fails. For this to work correctly you need to modify jffs2_iget so
> > that it returns ERR_PTR(-ENOMEM) when out of memory.
>
> Is this a trivial fix, or will it have ramifications for the rest of the
> eCos JFFS2 code?
It looks trivial.
Please let us have a new patch when you have some spare time.
Andrew
More information about the Ecos-patches
mailing list