[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 08 Aug 2006 10:30:06 -0700
From: Dave Hansen <haveblue@...ibm.com>
To: linux-kernel@...r.kernel.org
Cc: dhowells@...hat.com, trond.myklebust@....uio.no,
Andrew Morton <akpm@...l.org>
Subject: Re: + fs-cache-make-kafs-use-fs-cache.patch added to -mm tree
On Fri, 2006-08-04 at 17:09 -0700, akpm@...l.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@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists