]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
jbd2: deregister proc on failure in jbd2_journal_init_inode
authorSami Liedes <sliedes@cc.hut.fi>
Mon, 3 Nov 2008 00:23:30 +0000 (19:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Nov 2008 00:23:30 +0000 (19:23 -0500)
commit2423840ded13e6d3b52d88aff8d033bb78fafd08
tree9c82375eb1f17a635de090aa0f944b67c41fc981
parent8c3f25d8950c3e9fe6c9849f88679b3f2a071550
jbd2: deregister proc on failure in jbd2_journal_init_inode

jbd2_journal_init_inode() does not call jbd2_stats_proc_exit() on all
failure paths after calling jbd2_stats_proc_init(). This leaves
dangling references to the fs in proc.

This patch fixes a bug reported by Sami Leides at:
http://bugzilla.kernel.org/show_bug.cgi?id=11493

Signed-off-by: Sami Liedes <sliedes@cc.hut.fi>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/journal.c