diff options
author | Ananiev, Leonid I <leonid.i.ananiev@intel.com> | 2006-04-11 09:54:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-04-18 00:16:05 +0400 |
commit | 345db2843239353833c28d2e12e32a2429a73b2b (patch) | |
tree | 45892bf1f0cb4a491ac92c108bb4573620545493 /fs | |
parent | 49e91c3b2131b16ea13e3b44426c5a577e9b4fd8 (diff) | |
download | linux-345db2843239353833c28d2e12e32a2429a73b2b.tar.xz |
[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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext3/resize.c | 1 |
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; } |