Skip to contentSkip to conversation

ext4 calls journal_stop

PATCH In review Randy Dunlap 2 participants 2 messages Dec 8, 2006 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4 calls journal_stop

From: Randy Dunlap <[email protected]>

journal_stop() is not defined for ext4; change to ext4_journal_stop().

---
 fs/ext4/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ext4/inode.c +1 -1
@@ -1232,7 +1232,7 @@ retry:
 				from, to, NULL, do_journal_get_write_access);
 		if (ret)
 			/* fatal error, just put the handle and return */
-			journal_stop(handle);
+			ext4_journal_stop(handle);
 	}
 	return ret;
 

---

#1 lore raw
Quoted 12 lines · On Thu, 7 Dec 2006 22:17:41 -0800 Randy Dunlap <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

journal_stop() is not defined for ext4; change to ext4_journal_stop().

---
 fs/ext4/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

fs/ext4/inode.c retry: · line 1235

Quoted 5 lines
fs/ext4/inode.c +1 -1
@@ -1232,7 +1232,7 @@ retry:
 				from, to, NULL, do_journal_get_write_access);
 		if (ret)
 			/* fatal error, just put the handle and return */
-			journal_stop(handle);
+			ext4_journal_stop(handle);

rofl. That'll link and run if both filesystems are built. I bet it doesn't run very well though