Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 389ed39b authored by Leonid I Ananiev's avatar Leonid I Ananiev Committed by Linus Torvalds
Browse files

[PATCH] ext3: Fix missed mutex unlock



Missed unlock_super()call is added in error condition code path.

Signed-off-by: default avatarLeonid Ananiev <leonid.i.ananiev@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d93c2efc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -974,6 +974,7 @@ int ext3_group_extend(struct super_block *sb, struct ext3_super_block *es,
	if (o_blocks_count != le32_to_cpu(es->s_blocks_count)) {
		ext3_warning(sb, __FUNCTION__,
			     "multiple resizers run on filesystem!");
		unlock_super(sb);
		err = -EBUSY;
		goto exit_put;
	}