Buglet when builing without AFS_CACHING_SUPPORT

Pete Zaitcev zaitcev at redhat.com
Tue Jan 6 18:15:31 GMT 2004


A vnode does not have a member "cache" in such case.

diff -urN -X dontdiff linux-2.6.0/fs/afs/inode.c linux-2.6.0-kafs/fs/afs/inode.c
--- linux-2.6.0/fs/afs/inode.c	2003-10-01 15:18:00.000000000 -0700
+++ linux-2.6.0-kafs/fs/afs/inode.c	2004-01-04 14:05:41.000000000 -0800
@@ -201,7 +201,11 @@
 	       vnode->cb_version,
 	       vnode->cb_timeout.timo_jif,
 	       vnode->cb_type,
+#ifdef AFS_CACHING_SUPPORT
 	       vnode->cache
+#else
+	       NULL
+#endif
 	       );
 	return 0;
 



More information about the linux-afs mailing list