Skip to content

Commit

Permalink
[PATCH] ext3: Fix missed mutex unlock
Browse files Browse the repository at this point in the history
Missed unlock_super()call is added in error condition code path.

Signed-off-by: Leonid Ananiev <leonid.i.ananiev@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Ananiev, Leonid I authored and Linus Torvalds committed Apr 11, 2006
1 parent d93c2ef commit 389ed39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ext3/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 389ed39

Please sign in to comment.