summaryrefslogtreecommitdiffstats
path: root/fs/ext4/resize.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-02-25 21:37:42 +0100
committerTheodore Ts'o <tytso@mit.edu>2008-02-25 21:37:42 +0100
commit5606bf5d0cbfbc3dfa78793a3793c43dd045fb1b (patch)
tree6b50ee233ee6c51d7f15723484f3a490bfb9bf95 /fs/ext4/resize.c
parentext4: ext4_find_next_zero_bit needs an aligned address on some arch (diff)
downloadlinux-5606bf5d0cbfbc3dfa78793a3793c43dd045fb1b.tar.xz
linux-5606bf5d0cbfbc3dfa78793a3793c43dd045fb1b.zip
ext4: add missing ext4_journal_stop()
Add missing ext4_journal_stop() in error handling. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Stephen Tweedie <sct@redhat.com> Cc: adilger@clusterfs.com Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'fs/ext4/resize.c')
-rw-r--r--fs/ext4/resize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c
index 9477a2bd6ff2..e29efa0f9d62 100644
--- a/fs/ext4/resize.c
+++ b/fs/ext4/resize.c
@@ -1037,6 +1037,7 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es,
ext4_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!");
unlock_super(sb);
+ ext4_journal_stop(handle);
err = -EBUSY;
goto exit_put;
}