summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-04-17 17:22:13 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-04-30 22:17:09 -0700
commitca52fec152282ef73e5e882b847b36b1febbb1c6 (patch)
tree8eb28f127a04b83af3abdfbf3d97c630e1668986 /fs/nfs/pagelist.c
parent724c439c204b12a3537b71289fb4c0a42c3aa566 (diff)
downloadop-kernel-dev-ca52fec152282ef73e5e882b847b36b1febbb1c6.zip
op-kernel-dev-ca52fec152282ef73e5e882b847b36b1febbb1c6.tar.gz
NFS: Use pgoff_t in structures and functions that pass page cache offsets
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r--fs/nfs/pagelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index 096efd7..d846d39 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -383,12 +383,12 @@ void nfs_pageio_complete(struct nfs_pageio_descriptor *desc)
* You must be holding the inode's req_lock when calling this function
*/
int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *head,
- struct list_head *dst, unsigned long idx_start,
+ struct list_head *dst, pgoff_t idx_start,
unsigned int npages)
{
struct nfs_page *pgvec[NFS_SCAN_MAXENTRIES];
struct nfs_page *req;
- unsigned long idx_end;
+ pgoff_t idx_end;
int found, i;
int res;
OpenPOWER on IntegriCloud