[PATCH] ext3: Fix missed mutex unlock

From: Ananiev, Leonid I
Date: Mon Apr 10 2006 - 14:14:09 EST


>From Leonid Ananiev

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

Signed-off-by: Leonid Ananiev <leonid.i.ananiev@xxxxxxxxx>

-------
--- fs/ext3/resize.c 2006-04-06 01:08:28.367109040 -0700
+++ fs/ext3/resize.c 2006-04-06 01:10:37.289509856 -0700
@@ -974,6 +974,7 @@ int ext3_group_extend(struct super_block
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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/