Commit 345db284 authored by Ananiev, Leonid I's avatar Ananiev, Leonid I Committed by Greg Kroah-Hartman

[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>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 49e91c3b
...@@ -974,6 +974,7 @@ int ext3_group_extend(struct super_block *sb, struct ext3_super_block *es, ...@@ -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)) { if (o_blocks_count != le32_to_cpu(es->s_blocks_count)) {
ext3_warning(sb, __FUNCTION__, ext3_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!"); "multiple resizers run on filesystem!");
unlock_super(sb);
err = -EBUSY; err = -EBUSY;
goto exit_put; goto exit_put;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment