ext3: add missing ext3_journal_stop()
Akinobu Mita [Mon, 28 Apr 2008 09:16:07 +0000 (02:16 -0700)]
Add missing ext3_journal_stop() in error handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

fs/ext3/resize.c

index 0e97b6e..7a9dac1 100644 (file)
@@ -1049,6 +1049,7 @@ int ext3_group_extend(struct super_block *sb, struct ext3_super_block *es,
                ext3_warning(sb, __FUNCTION__,
                             "multiple resizers run on filesystem!");
                unlock_super(sb);
+               ext3_journal_stop(handle);
                err = -EBUSY;
                goto exit_put;
        }