Re: + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-08-04 at 17:09 -0700, [email protected] 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 <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux