]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ext4: add missing ext4_journal_stop()
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 25 Feb 2008 20:37:42 +0000 (15:37 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Feb 2008 20:37:42 +0000 (15:37 -0500)
Add missing ext4_journal_stop() in error handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: adilger@clusterfs.com
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mingming Cao <cmm@us.ibm.com>
fs/ext4/resize.c

index 9477a2bd6ff2ea0c2ae9180c89a0166d470df1b6..e29efa0f9d6298402bf35b588838d9737b08c551 100644 (file)
@@ -1037,6 +1037,7 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es,
                ext4_warning(sb, __FUNCTION__,
                             "multiple resizers run on filesystem!");
                unlock_super(sb);
+               ext4_journal_stop(handle);
                err = -EBUSY;
                goto exit_put;
        }