Possible JFFS2 bug

Elizabeth Clarke eclarke at aminocom.com
Fri Apr 12 08:52:46 EDT 2002


Charles Manning wrote:
> In dir.c/jffs2_readdir()....
> I notice that if the filldir returns <0 during the fill for "." and "..", the
> execution gotos out:. This bypasses the down() of the semaphore, however the
> semaphore still gets up()ed.

Looks like it was fixed in cvs:

revision 1.52
date: 2002/01/21 12:33:49;  author: dwmw2;  state: Exp;  lines: +3 -3
Fix bogus up() without down() in jffs2_readdir()

Beth




More information about the linux-mtd mailing list