afs/include/linux cachefs.h,1.13,1.14

dwh at infradead.org dwh at infradead.org
Tue Jun 10 19:49:51 BST 2003


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

Modified Files:
	cachefs.h 
Log Message:
fix some oopses


Index: cachefs.h
===================================================================
RCS file: /home/cvs/afs/include/linux/cachefs.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- cachefs.h	9 Jun 2003 13:39:12 -0000	1.13
+++ cachefs.h	10 Jun 2003 17:49:48 -0000	1.14
@@ -207,16 +207,8 @@
  * indicate that caching is no longer required on a page
  * - cannot cancel any outstanding BIOs between this page and the cache
  */
-extern void __cachefs_uncache_page(struct cachefs_cookie *cookie,
-				   struct page *page);
-
-static inline void cachefs_uncache_page(struct cachefs_cookie *cookie,
-					struct page *page,
-					struct cachefs_page *pageio)
-{
-	if (__builtin_constant_p(pageio) && !pageio || pageio->mapped_block)
-		__cachefs_uncache_page(cookie,page);
-}
+extern void cachefs_uncache_page(struct cachefs_cookie *cookie,
+				 struct page *page);
 
 /*
  * keep track of pages changed locally but not yet committed
@@ -248,9 +240,5 @@
 extern int cachefs_page_get_private(struct page *page,
 				    struct cachefs_page **_page,
 				    unsigned gfp);
-
-extern int cachefs_invalidatepage(struct page *page, unsigned long offset);
-
-extern int cachefs_releasepage(struct page *page, int gfp_flags);
 
 #endif /* _LINUX_CACHEFS_H */




More information about the linux-afs-cvs mailing list