diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-11-10 10:16:17 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-11-10 10:16:17 +0000 |
commit | d79aab2852cd89ed8b792d633c9bebc0c6af74ac (patch) | |
tree | 029dec967090ff96578df1fcf70d358a34c2dc3e /fs/jbd2/journal.c | |
parent | 039d35267d79b9feae3a850f54b2677dea019f0a (diff) | |
parent | f7160c7573615ec82c691e294cf80d920b5d588d (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into rmk-next
Diffstat (limited to 'fs/jbd2/journal.c')
-rw-r--r-- | fs/jbd2/journal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 783de118de9..e70d657a19f 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -1089,6 +1089,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode) if (!journal->j_wbuf) { printk(KERN_ERR "%s: Cant allocate bhs for commit thread\n", __func__); + jbd2_stats_proc_exit(journal); kfree(journal); return NULL; } @@ -1098,6 +1099,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode) if (err) { printk(KERN_ERR "%s: Cannnot locate journal superblock\n", __func__); + jbd2_stats_proc_exit(journal); kfree(journal); return NULL; } |