summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-05-30 21:25:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-31 16:27:10 -0700
commit6855a3a6c3ab611c3a393be846c1e36120033b18 (patch)
treefc8b79da08a45dead0733ebe2e092ed39e30be01
parente6ed89ac9f5da16fea5111651b6de0ff0a76a5c2 (diff)
downloadlinux-3.10-6855a3a6c3ab611c3a393be846c1e36120033b18.tar.gz
linux-3.10-6855a3a6c3ab611c3a393be846c1e36120033b18.tar.bz2
linux-3.10-6855a3a6c3ab611c3a393be846c1e36120033b18.zip
[PATCH] ext3 resize: fix double unlock_super()
From: Andrew Morton <akpm@osdl.org> Spotted by Jan Capek <jca@sysgo.com> Cc: "Stephen C. Tweedie" <sct@redhat.com> Cc: Andreas Dilger <adilger@clusterfs.com> Cc: Jan Capek <jca@sysgo.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/ext3/resize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c
index 8aac5334680..34b39e9a1e5 100644
--- a/fs/ext3/resize.c
+++ b/fs/ext3/resize.c
@@ -767,7 +767,6 @@ int ext3_group_add(struct super_block *sb, struct ext3_new_group_data *input)
if (input->group != sbi->s_groups_count) {
ext3_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!");
- unlock_super(sb);
err = -EBUSY;
goto exit_journal;
}