From: Ananiev, Leonid I Date: Tue, 11 Apr 2006 05:54:38 +0000 (-0700) Subject: [PATCH] ext3: Fix missed mutex unlock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=389ed39b9711bbe5210d5e118e1f1af36ca88b7c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] ext3: Fix missed mutex unlock Missed unlock_super()call is added in error condition code path. Signed-off-by: Leonid Ananiev Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c index 1041dab6de2..14f5f6ea3e7 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; }