mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree
       [not found] <200608050009.k7509mMx019642@shell0.pdx.osdl.net>
@ 2006-08-08 17:30 ` Dave Hansen
  2006-08-08 17:42 ` David Howells
  1 sibling, 0 replies; 2+ messages in thread
From: Dave Hansen @ 2006-08-08 17:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: dhowells, trond.myklebust, Andrew Morton

On Fri, 2006-08-04 at 17:09 -0700, akpm@osdl.org wrote:
> The attached patch makes the kAFS filesystem in fs/afs/ use FS-Cache, and
> through it any attached caches.  The kAFS filesystem will use caching
> automatically if it's available.

I get the following warning when compiling AFS, but leaving FSCACHE
compiled out in 2.6.18-rc3-mm2:

fs/afs/vnode.c:522: warning: 'afs_vnode_cache_now_uncached' defined but not used

The attached patch fixes it.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>

 lxc-dave/fs/afs/vnode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/afs/vnode.c~fcache-exports fs/afs/vnode.c
--- lxc/fs/afs/vnode.c~fcache-exports	2006-08-08 10:21:53.000000000 -0700
+++ lxc-dave/fs/afs/vnode.c	2006-08-08 10:22:53.000000000 -0700
@@ -508,7 +508,6 @@ static void afs_vnode_cache_mark_pages_c
 	}
 
 } /* end afs_vnode_cache_mark_pages_cached() */
-#endif
 
 /*****************************************************************************/
 /*
@@ -552,3 +551,4 @@ static void afs_vnode_cache_now_uncached
 	_leave("");
 
 } /* end afs_vnode_cache_now_uncached() */
+#endif
_


-- Dave


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

* Re: + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree
       [not found] <200608050009.k7509mMx019642@shell0.pdx.osdl.net>
  2006-08-08 17:30 ` + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree Dave Hansen
@ 2006-08-08 17:42 ` David Howells
  1 sibling, 0 replies; 2+ messages in thread
From: David Howells @ 2006-08-08 17:42 UTC (permalink / raw)
  To: Dave Hansen; +Cc: linux-kernel, dhowells, trond.myklebust, Andrew Morton

Dave Hansen <haveblue@us.ibm.com> wrote:

> I get the following warning when compiling AFS, but leaving FSCACHE
> compiled out in 2.6.18-rc3-mm2:

Acked-By: David Howells <dhowells@redhat.com>

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

end of thread, other threads:[~2006-08-08 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200608050009.k7509mMx019642@shell0.pdx.osdl.net>
2006-08-08 17:30 ` + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree Dave Hansen
2006-08-08 17:42 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome