[PATCH 2/4] ext4: add missing ext4_journal_stop()

Akinobu Mita
2008-02-17T06:17:55Z

Add missing ext4_journal_stop() in error handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: adilger@clusterfs.com
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Theodore Tso <tytso@MIT.EDU>
---
fs/ext4/resize.c | 1 +
1 file changed, 1 insertion(+)

Index: 2.6-rc/fs/ext4/resize.c
===================================================================
--- 2.6-rc.orig/fs/ext4/resize.c
+++ 2.6-rc/fs/ext4/resize.c
@@ -1037,6 +1037,7 @@ int ext4_group_extend(struct super_block
ext4_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!");
unlock_super(sb);
+ ext4_journal_stop(handle);
err = -EBUSY;
goto exit_put;
}