lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-08 19:33    [W:4.761 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site