From ecdcf4e8ceebf3f605da8c474e58bed8462aa96f Mon Sep 17 00:00:00 2001 From: Dave Kleikamp Date: Tue, 17 Oct 2006 00:09:35 -0700 Subject: [PATCH] --- yaml --- r: 39712 b: refs/heads/master c: 5eb30790d4ccd3409240a80eaf9ab76b4fb75fd8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/jbd2/journal.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 588a15f596b1..6ae4eefa732d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3f4a0b917ce72ef47e438d354c433eb645218e87 +refs/heads/master: 5eb30790d4ccd3409240a80eaf9ab76b4fb75fd8 diff --git a/trunk/fs/jbd2/journal.c b/trunk/fs/jbd2/journal.c index 10db92ced014..c60f378b0f76 100644 --- a/trunk/fs/jbd2/journal.c +++ b/trunk/fs/jbd2/journal.c @@ -725,6 +725,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev, __FUNCTION__); kfree(journal); journal = NULL; + goto out; } journal->j_dev = bdev; journal->j_fs_dev = fs_dev; @@ -735,7 +736,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev, J_ASSERT(bh != NULL); journal->j_sb_buffer = bh; journal->j_superblock = (journal_superblock_t *)bh->b_data; - +out: return journal; }