2008-02-17 06:10:02

by Akinobu Mita

[permalink] [raw]
Subject: [PATCH 2/4] ext3: add missing ext3_journal_stop()

Add missing ext3_journal_stop() in error handling.

Signed-off-by: Akinobu Mita <[email protected]>
Cc: Stephen Tweedie <[email protected]>
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
---
fs/ext3/resize.c | 1 +
1 file changed, 1 insertion(+)

Index: 2.6-rc/fs/ext3/resize.c
===================================================================
--- 2.6-rc.orig/fs/ext3/resize.c
+++ 2.6-rc/fs/ext3/resize.c
@@ -1049,6 +1049,7 @@ int ext3_group_extend(struct super_block
ext3_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!");
unlock_super(sb);
+ ext3_journal_stop(handle);
err = -EBUSY;
goto exit_put;
}