afs/fs/cachefs aops.c,1.47,1.48

dwh at infradead.org dwh at infradead.org
Fri Sep 12 16:45:14 BST 2003


Update of /home/cvs/afs/fs/cachefs
In directory phoenix.infradead.org:/tmp/cvs-serv3616/fs/cachefs

Modified Files:
	aops.c 
Log Message:
some CodingStyle changes


Index: aops.c
===================================================================
RCS file: /home/cvs/afs/fs/cachefs/aops.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- aops.c	12 Sep 2003 13:01:17 -0000	1.47
+++ aops.c	12 Sep 2003 14:45:11 -0000	1.48
@@ -1218,15 +1218,16 @@
  * map a block in a file to a block within the block device
  * - the inode meta-data contains:
  *   - ~120 direct pointers for the first part of the file
- *   - 1 single-indirect pointer for the first indirection block (1024 pointers)
+ *   - 1 single-indirect pointer for the first indirection block (1024 ptrs)
  *   - 1 double-indirect pointer for the remainder of the file
  *   and must be included in the final journal mark
  * - returns:
  *   - 0 if successful and the block details are set in result
  *   - -ENODATA if no block at that index
- * - sets CACHEFS_PAGE_BOUNDARY if the next block has a different indirection chain
- * - if the inode forms part of an index, then the any blocks belong to that index and must be
- *   initialised as part of the final journalling mark
+ * - sets CACHEFS_PAGE_BOUNDARY if the next block has a different indirection
+ *   chain
+ * - if the inode forms part of an index, then the any blocks belong to that
+ *   index and must be initialised as part of the final journalling mark
  */
 int cachefs_get_block(struct inode *vfs_inode, struct page *page,
 		      struct cachefs_page *pageio, int create)
@@ -1323,7 +1324,8 @@
 		goto process;
 	}
 
-	/* it seems to be inside triple-indirect range, which isn't supported yet (TODO) */
+	/* it seems to be inside triple-indirect range, which isn't supported
+	 * yet (TODO) */
 	BUG();
 	pix = 3;
 
@@ -1416,9 +1418,9 @@
 			}
 
 			ret = cachefs_block_read(
-				super,NULL,step->bix,
+				super, NULL, step->bix,
 				step->flags & CACHEFS_BLOCK_NEW,
-				NULL,&step->page);
+				NULL, &step->page);
 			if (ret < 0) {
 				printk("CacheFS: "
 				       "read I/O error on level %d block %u:"
@@ -1452,7 +1454,7 @@
 
 	/* got the block - set the block offset in the page mapping record */
 	if (path[0].flags & CACHEFS_BLOCK_NEW)
-		set_bit(CACHEFS_PAGE_NEW,&pageio->flags);
+		set_bit(CACHEFS_PAGE_NEW, &pageio->flags);
 
 	_debug("notboundary = %u", notboundary);
 	if (!notboundary)




More information about the linux-afs-cvs mailing list