Skip to contentSkip to conversation

ext4: add missing ext4_journal_stop()

PATCH In review Akinobu Mita 2 participants 2 messages Feb 17, 2008 – Feb 19, 2008 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 ext4: add missing ext4_journal_stop()

Add missing ext4_journal_stop() in error handling.

Cc Stephen Tweedie <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Mingming Cao <[email protected]>
Cc Theodore Tso <[email protected]>
---
 fs/ext4/resize.c |    1 +
 1 file changed, 1 insertion(+)
fs/ext4/resize.c +1 -0
Index: 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;
 	}
#1 lore raw
Quoted 2 lines · Akinobu Mita

Add missing ext4_journal_stop() in error handling.

Reviewed and Acked ext2/3/4 changes.

ext4 patch is also queued in ext4 patch queue
http://repo.or.cz/w/ext4-patch-queue.git

Mingming

Quoted 26 lines
Cc Stephen Tweedie <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Mingming Cao <[email protected]>
Cc Theodore Tso <[email protected]>
---
 fs/ext4/resize.c |    1 +
 1 file changed, 1 insertion(+)

Index: 2.6-rc/fs/ext4/resize.c
===================================================================

fs/ext4/resize.c +1 -1
@@ -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;
 	}
-

To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html