[PATCH] ext3: Fix missed mutex unlock
authorAnaniev, Leonid I <leonid.i.ananiev@intel.com>
Tue, 11 Apr 2006 05:54:38 +0000 (22:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Apr 2006 21:24:57 +0000 (14:24 -0700)
Missed unlock_super()call is added in error condition code path.

Signed-off-by: Leonid Ananiev <leonid.i.ananiev@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext3/resize.c

index 14f5f6ea3e7230fb2621a620a3639ff136f1996d..c5ffa852396802d2f58cfae2474f500c4aeb002f 100644 (file)
@@ -767,6 +767,7 @@ int ext3_group_add(struct super_block *sb, struct ext3_new_group_data *input)
        if (input->group != sbi->s_groups_count) {
                ext3_warning(sb, __FUNCTION__,
                             "multiple resizers run on filesystem!");
+               unlock_super(sb);
                err = -EBUSY;
                goto exit_journal;
        }