* linux-2.5 cset 1.1654.1.2 xfs filemap_flush() unresolved
[not found] <20040307052556.4BABC468E4@mandarine.suse.de>
@ 2004-03-07 16:15 ` Olaf Hering
2004-03-08 8:52 ` Nathan Scott
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2004-03-07 16:15 UTC (permalink / raw)
To: nathans; +Cc: linux-kernel, akpm
filemap_flush() is not an exported symbol, at least not in my tree.
> ChangeSet
> 1.1654.1.2 04/03/06 14:47:10 nathans@sgi.com +1 -0
> [XFS] Fix out-of-space deadlock when flushing delalloc data with pages locked under write.
>
> SGI Modid: xfs-linux:xfs-kern:167948a
>
> fs/xfs/linux/xfs_super.c
> 1.70 04/03/06 14:46:51 nathans@sgi.com +1 -1
> [XFS] Fix out-of-space deadlock when flushing delalloc data with pages locked under write.
>
> .........................................................................
> # This is a BitKeeper generated patch for the following project:
> # Project Name: Linux kernel tree
> # This patch format is intended for GNU patch command version 2.5 or higher.
> # This patch includes the following deltas:
> # ChangeSet 1.1654.1.1 -> 1.1654.1.2
> # fs/xfs/linux/xfs_super.c 1.69 -> 1.70
> #
> # The following is the BitKeeper ChangeSet Log
> # --------------------------------------------
> # 04/03/06 nathans@sgi.com 1.1654.1.2
> # [XFS] Fix out-of-space deadlock when flushing delalloc data with pages locked under write.
> #
> # SGI Modid: xfs-linux:xfs-kern:167948a
> # --------------------------------------------
> #
> diff -Nru a/fs/xfs/linux/xfs_super.c b/fs/xfs/linux/xfs_super.c
> --- a/fs/xfs/linux/xfs_super.c Sun Mar 7 06:25:54 2004
> +++ b/fs/xfs/linux/xfs_super.c Sun Mar 7 06:25:54 2004
> @@ -247,7 +247,7 @@
> {
> struct inode *inode = LINVFS_GET_IP(XFS_ITOV(ip));
>
> - filemap_fdatawrite(inode->i_mapping);
> + filemap_flush(inode->i_mapping);
> }
>
> void
> .........................................................................
> # vim: syntax=diff
>
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-2.5 cset 1.1654.1.2 xfs filemap_flush() unresolved
2004-03-07 16:15 ` linux-2.5 cset 1.1654.1.2 xfs filemap_flush() unresolved Olaf Hering
@ 2004-03-08 8:52 ` Nathan Scott
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2004-03-08 8:52 UTC (permalink / raw)
To: Olaf Hering, akpm, torvalds; +Cc: linux-kernel
On Sun, Mar 07, 2004 at 05:15:50PM +0100, Olaf Hering wrote:
>
> filemap_flush() is not an exported symbol, at least not in my tree.
>
Thanks Olaf,
Trivial fix follows (for modular XFS builds).
cheers.
--
Nathan
--- mm/filemap.c.orig 2004-03-08 19:44:18.904099904 +1100
+++ mm/filemap.c 2004-03-08 19:44:45.641035272 +1100
@@ -168,6 +168,8 @@
return __filemap_fdatawrite(mapping, WB_SYNC_NONE);
}
+EXPORT_SYMBOL(filemap_flush);
+
/**
* filemap_fdatawait - walk the list of locked pages of the given address
* space and wait for all of them.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-08 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20040307052556.4BABC468E4@mandarine.suse.de>
2004-03-07 16:15 ` linux-2.5 cset 1.1654.1.2 xfs filemap_flush() unresolved Olaf Hering
2004-03-08 8:52 ` Nathan Scott
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.