afs/include/linux cachefs.h,1.20,1.21

dwh at infradead.org dwh at infradead.org
Tue Sep 16 18:49:27 BST 2003


Update of /home/cvs/afs/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv19856/include/linux

Modified Files:
	cachefs.h 
Log Message:
added unjournalled block alteration and cookie index data update capability


Index: cachefs.h
===================================================================
RCS file: /home/cvs/afs/include/linux/cachefs.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- cachefs.h	19 Aug 2003 14:28:27 -0000	1.20
+++ cachefs.h	16 Sep 2003 16:49:25 -0000	1.21
@@ -94,6 +94,8 @@
 
 extern void __cachefs_relinquish_cookie(struct cachefs_cookie *cookie,
 					int retire);
+
+extern void __cachefs_update_cookie(struct cachefs_cookie *cookie);
 #endif
 
 static inline
@@ -118,6 +120,15 @@
 #ifdef CONFIG_CACHEFS
 	if (cookie)
 		return __cachefs_relinquish_cookie(cookie, retire);
+#endif
+}
+
+static inline
+void cachefs_update_cookie(struct cachefs_cookie *cookie)
+{
+#ifdef CONFIG_CACHEFS
+	if (cookie)
+		return __cachefs_update_cookie(cookie);
 #endif
 }
 




More information about the linux-afs-cvs mailing list