linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ext4 calls journal_stop
@ 2006-12-08  6:17 Randy Dunlap
  2006-12-08  8:14 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2006-12-08  6:17 UTC (permalink / raw)
  To: linux-ext4; +Cc: akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

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

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 fs/ext4/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-git11.orig/fs/ext4/inode.c
+++ linux-2.6.19-git11/fs/ext4/inode.c
@@ -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;
 


---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ext4 calls journal_stop
  2006-12-08  6:17 [PATCH] ext4 calls journal_stop Randy Dunlap
@ 2006-12-08  8:14 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2006-12-08  8:14 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-ext4

On Thu, 7 Dec 2006 22:17:41 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> journal_stop() is not defined for ext4; change to ext4_journal_stop().
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  fs/ext4/inode.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2.6.19-git11.orig/fs/ext4/inode.c
> +++ linux-2.6.19-git11/fs/ext4/inode.c
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-08  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08  6:17 [PATCH] ext4 calls journal_stop Randy Dunlap
2006-12-08  8:14 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).