Commit 71247917 authored by Christoph Hellwig's avatar Christoph Hellwig

[XFS] fix some broken off_t use

SGI Modid: 2.5.x-xfs:slinx:133435a
parent ee5212b2
...@@ -202,7 +202,7 @@ linvfs_fsync( ...@@ -202,7 +202,7 @@ linvfs_fsync(
ASSERT(vp); ASSERT(vp);
VOP_FSYNC(vp, flags, NULL, (off_t)0, (off_t)-1, error); VOP_FSYNC(vp, flags, NULL, (xfs_off_t)0, (xfs_off_t)-1, error);
return -error; return -error;
} }
...@@ -228,7 +228,7 @@ linvfs_readdir( ...@@ -228,7 +228,7 @@ linvfs_readdir(
caddr_t read_buf; caddr_t read_buf;
int namelen, size = 0; int namelen, size = 0;
size_t rlen = PAGE_CACHE_SIZE << 2; size_t rlen = PAGE_CACHE_SIZE << 2;
off_t start_offset; xfs_off_t start_offset;
xfs_dirent_t *dbp = NULL; xfs_dirent_t *dbp = NULL;
vp = LINVFS_GET_VP(filp->f_dentry->d_inode); vp = LINVFS_GET_VP(filp->f_dentry->d_inode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment