ext3: add missing ext3_journal_stop()
authorAkinobu Mita <[email protected]>
Mon, 28 Apr 2008 09:16:07 +0000 (02:16 -0700)
committerLinus Torvalds <[email protected]>
Mon, 28 Apr 2008 15:58:44 +0000 (08:58 -0700)
Add missing ext3_journal_stop() in error handling.

Signed-off-by: Akinobu Mita <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext3/resize.c

index 0e97b6e07cb03556437c55924003d103efd44f17..7a9dac1d3653a684ee2c0f03eb0685c348d621fe 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;
        }