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

From: [email-masked]
Date: Tue, 16 Sep 2003 17:49:27 +0100

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
 }