Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95050
b: refs/heads/master
c: 620de4e
h: refs/heads/master
v: v3
  • Loading branch information
Duane Griffin authored and Theodore Ts'o committed Apr 30, 2008
1 parent ff49c8e commit ae50a24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5648ba5b2dc0d07a8108fabc7b9100962e9e1d88
refs/heads/master: 620de4e19890c623eb4ba293ec19b42e2e391b89
8 changes: 5 additions & 3 deletions trunk/fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -2307,10 +2307,12 @@ static int __init journal_init(void)
BUILD_BUG_ON(sizeof(struct journal_superblock_s) != 1024);

ret = journal_init_caches();
if (ret != 0)
if (ret == 0) {
jbd2_create_debugfs_entry();
jbd2_create_jbd_stats_proc_entry();
} else {
jbd2_journal_destroy_caches();
jbd2_create_debugfs_entry();
jbd2_create_jbd_stats_proc_entry();
}
return ret;
}

Expand Down

0 comments on commit ae50a24

Please sign in to comment.