[Ocfs2-commits] manish commits r1041 - branches/format-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jun 9 22:34:15 CDT 2004


Author: manish
Date: 2004-06-09 21:34:13 -0500 (Wed, 09 Jun 2004)
New Revision: 1041

Modified:
   branches/format-changes/src/hash.c
Log:
Fix for sector_t logging


Modified: branches/format-changes/src/hash.c
===================================================================
--- branches/format-changes/src/hash.c	2004-06-10 02:30:57 UTC (rev 1040)
+++ branches/format-changes/src/hash.c	2004-06-10 02:34:13 UTC (rev 1041)
@@ -263,7 +263,7 @@
 #ifdef VERBOSE_BH_SEM
 		LOG_TRACE_ARGS("need to wait... modified and pid is %d\n", sem->s_pid);
 #endif
-		LOG_ERROR_ARGS("Uhoh, read lock wanted on modified buffer! (pid=%d, block=%lu)\n", sem->s_pid, bh->b_blocknr);
+		LOG_ERROR_ARGS("Uhoh, read lock wanted on modified buffer! (pid=%d, block=%llu)\n", sem->s_pid, (unsigned long long)bh->b_blocknr);
 		ret = OCFS_BH_SEM_WAIT_ON_MODIFY;
 	} else {
 #ifdef VERBOSE_BH_SEM
@@ -339,7 +339,7 @@
 		} else if (sem->s_pid != current->pid) {
 //			LOG_TRACE_ARGS("need to wait... modified and pid is %d\n", sem->s_pid);
 			ret = OCFS_BH_SEM_WAIT_ON_MODIFY;
-			LOG_ERROR_ARGS("Uhoh, write lock wanted on modified buffer! (pid=%d, block=%lu)\n", sem->s_pid, bh->b_blocknr);
+			LOG_ERROR_ARGS("Uhoh, write lock wanted on modified buffer! (pid=%d, block=%llu)\n", sem->s_pid, (unsigned long long)bh->b_blocknr);
 		}
 	} else {
 		//LOG_TRACE_ARGS("buffer NOT modified\n");



More information about the Ocfs2-commits mailing list