summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorAnaniev, Leonid I <leonid.i.ananiev@intel.com>2006-04-11 07:54:38 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 15:18:46 +0200
commit389ed39b9711bbe5210d5e118e1f1af36ca88b7c (patch)
tree101997797e4a475d09c3af5ae211251768da3281 /fs/ext3
parent[PATCH] Overrun in cdrom/aztcd.c (diff)
downloadlinux-389ed39b9711bbe5210d5e118e1f1af36ca88b7c.tar.xz
linux-389ed39b9711bbe5210d5e118e1f1af36ca88b7c.zip
[PATCH] ext3: Fix missed mutex unlock
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>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/resize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c
index 1041dab6de2f..14f5f6ea3e72 100644
--- a/fs/ext3/resize.c
+++ b/fs/ext3/resize.c
@@ -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;
}