[Ocfs2-commits] manish commits r1905 - trunk/fs/ocfs2/dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Feb 22 20:05:00 CST 2005
Author: manish
Signed-off-by: mfasheh
Date: 2005-02-22 20:04:58 -0600 (Tue, 22 Feb 2005)
New Revision: 1905
Modified:
trunk/fs/ocfs2/dlm/dlmfs.c
Log:
Mr. kernel actually supports %z. Hooray.
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/dlm/dlmfs.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmfs.c 2005-02-23 02:03:00 UTC (rev 1904)
+++ trunk/fs/ocfs2/dlm/dlmfs.c 2005-02-23 02:04:58 UTC (rev 1905)
@@ -169,7 +169,7 @@
char *lvb_buf;
struct inode *inode = filp->f_dentry->d_inode;
- dprintk("inode %lu, count = %lu, *ppos = %llu\n",
+ dprintk("inode %lu, count = %zu, *ppos = %llu\n",
inode->i_ino, count, *ppos);
if (*ppos >= i_size_read(inode))
@@ -199,7 +199,7 @@
*ppos = *ppos + readlen;
- dprintk("read %ld bytes\n", readlen);
+ dprintk("read %zd bytes\n", readlen);
return readlen;
}
@@ -213,7 +213,7 @@
char *lvb_buf;
struct inode *inode = filp->f_dentry->d_inode;
- dprintk("inode %lu, count = %lu, *ppos = %llu\n",
+ dprintk("inode %lu, count = %zu, *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 %ld bytes\n", writelen);
+ dprintk("wrote %zd bytes\n", writelen);
return writelen;
}
More information about the Ocfs2-commits
mailing list