From: Duane Griffin Date: Wed, 30 Apr 2008 02:02:47 +0000 (-0400) Subject: jbd2: only create debugfs and stats entries if init is successful X-Git-Tag: v2.6.26-rc1~345^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=620de4e19890c623eb4ba293ec19b42e2e391b89;p=pandora-kernel.git jbd2: only create debugfs and stats entries if init is successful jbd2 debugfs and stats entries should only be created if cache initialisation is successful. At the moment they are being created unconditionally which will leave them dangling if cache (and hence module) initialisation fails. Signed-off-by: Duane Griffin Cc: Signed-off-by: Andrew Morton Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed