problems with JFFS2 assert failure on mutex
Øyvind Harboe
oyvind.harboe at zylin.com
Tue Jul 20 11:27:54 EDT 2004
tir, 20.07.2004 kl. 15.41 skrev David Woodhouse:
> On Mon, 2004-07-19 at 17:17 +0200, Øyvind Harboe wrote:
> > I was working on a different problem when I came across a mutex that
> > was being obtained twice(discovered via eCos asserts).
> >
> > On the surface of it, this patch looks correct.
>
> Looks correct; I've committed an equivalent to CVS. Thanks.
>
> > Comments?
>
> Only that this error path should never happen. The call to
> jffs2_gc_fetch_inode() for a valid inode should _never_ fail.
I believe this was with a corrupt JFFS2 disk.
--
Øyvind Harboe
http://www.zylin.com
More information about the linux-mtd
mailing list