[PATCH] ext3 resize: fix double unlock_super()
authorAndrew Morton <[email protected]>
Wed, 31 May 2006 04:25:31 +0000 (21:25 -0700)
committerLinus Torvalds <[email protected]>
Wed, 31 May 2006 23:27:10 +0000 (16:27 -0700)
From: Andrew Morton <[email protected]>

Spotted by Jan Capek <[email protected]>

Cc: "Stephen C. Tweedie" <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: Jan Capek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext3/resize.c

index 8aac5334680d18603b987cd1afb759d1b59cf574..34b39e9a1e5a01588db869c02c85f2407d12221a 100644 (file)
@@ -767,7 +767,6 @@ 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;
        }