[Ocfs2-commits] manish commits r921 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon May 17 19:23:33 CDT 2004


Author: manish
Date: 2004-05-17 18:23:31 -0500 (Mon, 17 May 2004)
New Revision: 921

Modified:
   trunk/src/inode.c
Log:
Fix 2.6 function format strings


Modified: trunk/src/inode.c
===================================================================
--- trunk/src/inode.c	2004-05-17 22:35:55 UTC (rev 920)
+++ trunk/src/inode.c	2004-05-17 23:23:31 UTC (rev 921)
@@ -588,7 +588,7 @@
 	int ret = 0;
 	ocfs_file_entry *fe = NULL;
 
-	LOG_ENTRY_ARGS ("(0x%08x, %u, 0x%08x)\n", inode, inode->i_ino, opaque);
+	LOG_ENTRY_ARGS ("(0x%p, %lu, 0x%p)\n", inode, inode->i_ino, opaque);
 
 	if (inode == NULL)
 		goto bail;
@@ -608,7 +608,7 @@
 bail:
 	if (fe)
 		OCFS_BH_PUT_DATA(args->fe_bh);
-	LOG_EXIT_LONG (ret);
+	LOG_EXIT_INT (ret);
 	return ret;
 }				/* ocfs_find_actor */
 
@@ -1079,11 +1079,11 @@
 {
 	int ret;
 
-	LOG_ENTRY_ARGS ("(0x%08x)\n", page);
+	LOG_ENTRY_ARGS ("(0x%p)\n", page);
 
 	ret = block_write_full_page (page, ocfs_get_block, wbc);
 
-	LOG_EXIT_LONG (ret);
+	LOG_EXIT_INT (ret);
 	return ret;
 }				/* ocfs_writepage */
 #else
@@ -1227,7 +1227,7 @@
 	/* blockdev_direct_IO checks alignment for us, using */
 	ret = blockdev_direct_IO (rw, iocb, inode, inode->i_sb->s_bdev, iov, offset, nr_segs, ocfs_direct_IO_get_blocks, NULL);
 
-	LOG_EXIT_LONG (ret);
+	LOG_EXIT_INT (ret);
 	return ret;
 }				/* ocfs_direct_IO */
 



More information about the Ocfs2-commits mailing list