afs/include/linux cachefs.h,1.10,1.11

dwh at infradead.org dwh at infradead.org
Fri Apr 25 18:04:12 BST 2003


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

Modified Files:
	cachefs.h 
Log Message:
made CACHEFS_PAGE_* constants into bit numbers rather than masks


Index: cachefs.h
===================================================================
RCS file: /home/cvs/afs/include/linux/cachefs.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cachefs.h	24 Apr 2003 12:02:33 -0000	1.10
+++ cachefs.h	25 Apr 2003 16:04:09 -0000	1.11
@@ -114,10 +114,9 @@
 {
 	struct cachefs_block	*mapped_block;	/* block mirroring this page */
 	rwlock_t		lock;
-	unsigned		flags;
-#define CACHEFS_PAGE_BOUNDARY	0x00000001	/* next block has a different indirection chain */
-#define CACHEFS_PAGE_NEW	0x00000002	/* this is a newly allocated block */
-#define CACHEFS_PAGE_BYSECTORS	0x00000004	/* this page is dealt with in sector granularity */
+	unsigned long		flags;
+#define CACHEFS_PAGE_BOUNDARY	0		/* next block has a different indirection chain */
+#define CACHEFS_PAGE_NEW	1		/* this is a newly allocated block */
 };
 
 extern int cachefs_file_mappage(struct page *page, unsigned gfp);




More information about the linux-afs-cvs mailing list