[Ocfs2-commits] manish commits r1903 - trunk/fs/ocfs2/dlm

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Feb 22 19:38:45 CST 2005


Author: manish
Signed-off-by: mfasheh
Date: 2005-02-22 19:38:42 -0600 (Tue, 22 Feb 2005)
New Revision: 1903

Modified:
   trunk/fs/ocfs2/dlm/dlmfs.c
Log:
Fix some 64-bit dprintk format confusion

Signed-off-by: mfasheh


Modified: trunk/fs/ocfs2/dlm/dlmfs.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmfs.c	2005-02-23 01:26:22 UTC (rev 1902)
+++ trunk/fs/ocfs2/dlm/dlmfs.c	2005-02-23 01:38:42 UTC (rev 1903)
@@ -169,7 +169,7 @@
 	char *lvb_buf;
 	struct inode *inode = filp->f_dentry->d_inode;
 
-	dprintk("inode %lu, count = %u, *ppos = %llu\n",
+	dprintk("inode %lu, count = %lu, *ppos = %llu\n",
 		inode->i_ino, count, *ppos);
 
 	if (*ppos >= i_size_read(inode))
@@ -199,7 +199,7 @@
 
 	*ppos = *ppos + readlen;
 
-	dprintk("read %d bytes\n", readlen);
+	dprintk("read %ld bytes\n", readlen);
 	return readlen;
 }
 
@@ -213,7 +213,7 @@
 	char *lvb_buf;
 	struct inode *inode = filp->f_dentry->d_inode;
 
-	dprintk("inode %lu, count = %u, *ppos = %llu\n",
+	dprintk("inode %lu, count = %lu, *ppos = %llu\n",
 		inode->i_ino, count, *ppos);
 
 	if (*ppos >= i_size_read(inode))
@@ -243,7 +243,7 @@
 	kfree(lvb_buf);
 
 	*ppos = *ppos + writelen;
-	dprintk("wrote %d bytes\n", writelen);
+	dprintk("wrote %ld bytes\n", writelen);
 	return writelen;
 }
 



More information about the Ocfs2-commits mailing list