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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jun 18 13:30:19 CDT 2004


Author: mfasheh
Date: 2004-06-18 12:30:17 -0500 (Fri, 18 Jun 2004)
New Revision: 1149

Modified:
   trunk/src/super.c
Log:
* include a patch by Christoph Hellwig <hch at lst.de>:
another blocknumber printk messup



Modified: trunk/src/super.c
===================================================================
--- trunk/src/super.c	2004-06-18 15:27:42 UTC (rev 1148)
+++ trunk/src/super.c	2004-06-18 17:30:17 UTC (rev 1149)
@@ -1790,8 +1790,9 @@
 				       OCFS2_MINOR_REV_LEVEL);
 		} else if (bh->b_blocknr != le64_to_cpu(di->i_blkno)) {
 			LOG_ERROR_ARGS("bad block number on superblock: "
-				       "found %llu, should be %lu\n",
-				       le64_to_cpu(di->i_blkno), bh->b_blocknr);
+				       "found %llu, should be %llu\n",
+				       le64_to_cpu(di->i_blkno),
+				       (unsigned long long)bh->b_blocknr);
 		} else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 ||
 			    le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) {
 			LOG_ERROR_ARGS("bad cluster size found: %u\n",



More information about the Ocfs2-commits mailing list