summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_jbd2.c
diff options
context:
space:
mode:
authorDuane Griffin <duaneg@dghda.com>2008-04-29 22:02:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-04-29 22:02:47 -0400
commit620de4e19890c623eb4ba293ec19b42e2e391b89 (patch)
treeaa10ed1a0f8321ab91b68568a2a9ece4b74e51a3 /fs/ext4/ext4_jbd2.c
parent5648ba5b2dc0d07a8108fabc7b9100962e9e1d88 (diff)
downloadop-kernel-dev-620de4e19890c623eb4ba293ec19b42e2e391b89.zip
op-kernel-dev-620de4e19890c623eb4ba293ec19b42e2e391b89.tar.gz
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 <duaneg@dghda.com> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud