bugreport

Artem Bityuckiy dedekind at oktetlabs.ru
Mon Jul 26 07:16:05 EDT 2004


Hello.

There is a bug in jffs2 module registration function - super.c line 293: 
the init_jffs2_fs function doesn't properly perform
the de-initialization in case of failures on lines 315 and 321.

The jffs2_inode_cachep is also not feed.

The proposed patch is attached.

Note 1: I didn't test this patch and didn't even compile JFFS2 with it - 
*be careful*.

Note 2: The similar ought to be fixed in super-v24.c

Artem.

-- 
Best regards, Artem B. Bityuckiy
Oktet Labs (St. Petersburg), Software Engineer.
+78124286709 (office) +79112449030 (mobile)
E-mail: dedekind at oktetlabs.ru, web: http://www.oktetlabs.ru
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: super.c.diff
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20040726/c1f772b9/attachment.pl 


More information about the linux-mtd mailing list