[Ocfs2-commits] mfasheh commits r1343 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Aug 9 19:10:10 CDT 2004


Author: mfasheh
Date: 2004-08-09 18:10:08 -0500 (Mon, 09 Aug 2004)
New Revision: 1343

Modified:
   trunk/src/file.c
Log:
* silence a printk



Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c	2004-08-09 22:55:53 UTC (rev 1342)
+++ trunk/src/file.c	2004-08-09 23:10:08 UTC (rev 1343)
@@ -119,8 +119,10 @@
 	OCFS_I(inode)->ip_alloc_size =
 		(u64)fe->i_clusters << osb->s_clustersize_bits;
 	OCFS_I(inode)->ip_chng_seq_num = DISK_LOCK(fe)->dl_seq_num;
-	if (fe->i_blkno == 0)
+	if (fe->i_blkno == 0) {
 		LOG_ERROR_STR ("this_sector=0");
+		goto leave;
+	}
 
 	if (inode == osb->root_inode)
 		goto leave;
@@ -1184,7 +1186,7 @@
 		sector_t block;
 		u64 this_last;
 
-		printk("Extending system inode %llu (from %u, adding %u)\n", fe->i_blkno, fe->i_clusters, numClustersAlloc);
+//		printk("Extending system inode %llu (from %u, adding %u)\n", fe->i_blkno, fe->i_clusters, numClustersAlloc);
 		LOG_TRACE_ARGS("zeroing %llu blocks from offset %llu\n", 
 			       num_blocks, block_off);
 		bhs = kmalloc(OCFS_MAX_ZERO_BLOCKS * sizeof(struct buffer_head *),



More information about the Ocfs2-commits mailing list