public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2: jffs2_symlink/jffs2_mkdir/jffs2_mknod bug?
@ 2009-12-02  2:11 Tao Huang
  2009-12-02  8:54 ` David Woodhouse
  2009-12-02 19:54 ` David Woodhouse
  0 siblings, 2 replies; 5+ messages in thread
From: Tao Huang @ 2009-12-02  2:11 UTC (permalink / raw)
  To: linux-mtd

On jffs2_symlink/jffs2_mkdir/jffs2_mknod, after jffs2_write_dnode,
any call jffs2_clear_inode will no call jffs2_mark_node_obsolete because
pino_nlink is not zero. This will make kernel BUG on jffs2_garbage_collect_live.

Run fsstress on NANDSIM can easy see this bug when no space, for example:
fsstress -p 2 -n 100000 -d /data -l 0 -s 100000 on 128KB NANDSIM.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-02 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02  2:11 JFFS2: jffs2_symlink/jffs2_mkdir/jffs2_mknod bug? Tao Huang
2009-12-02  8:54 ` David Woodhouse
2009-12-02  9:16   ` Joakim Tjernlund
2009-12-02  9:48     ` David Woodhouse
2009-12-02 19:54 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox