Skip to contentSkip to conversation

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

DISCUSSION Dave Hansen 2 participants 2 messages Aug 8, 2006 1 message not in the archive Afs filesystem

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · 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.

 lxc-dave/fs/afs/vnode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
fs/afs/vnode.c renamed from fs/afs/vnode.c~fcache-exports +1 -1
diff -puN fs/afs/vnode.c~fcache-exports fs/afs/vnode.c
@@ -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