From 322b4c2809eb38518fa4e787bf4bfa7bccb6eb37 Mon Sep 17 00:00:00 2001 From: Sami Liedes Date: Sun, 2 Nov 2008 19:23:30 -0500 Subject: [PATCH] --- yaml --- r: 118561 b: refs/heads/master c: 2423840ded13e6d3b52d88aff8d033bb78fafd08 h: refs/heads/master i: 118559: 5fa41af238bc076f06e727edcd5eff0ca7df73e4 v: v3 --- [refs] | 2 +- trunk/fs/jbd2/journal.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0b4f21b76edf..ae8d0653a41f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c3f25d8950c3e9fe6c9849f88679b3f2a071550 +refs/heads/master: 2423840ded13e6d3b52d88aff8d033bb78fafd08 diff --git a/trunk/fs/jbd2/journal.c b/trunk/fs/jbd2/journal.c index 783de118de92..e70d657a19f8 100644 --- a/trunk/fs/jbd2/journal.c +++ b/trunk/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; }