diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-04-17 17:22:13 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-01 01:17:09 -0400 |
commit | ca52fec152282ef73e5e882b847b36b1febbb1c6 (patch) | |
tree | 8eb28f127a04b83af3abdfbf3d97c630e1668986 /fs/nfs/pagelist.c | |
parent | 724c439c204b12a3537b71289fb4c0a42c3aa566 (diff) |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 096efd73eb4c..d846d39a31ef 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c | |||
@@ -383,12 +383,12 @@ void nfs_pageio_complete(struct nfs_pageio_descriptor *desc) | |||
383 | * You must be holding the inode's req_lock when calling this function | 383 | * You must be holding the inode's req_lock when calling this function |
384 | */ | 384 | */ |
385 | int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *head, | 385 | int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *head, |
386 | struct list_head *dst, unsigned long idx_start, | 386 | struct list_head *dst, pgoff_t idx_start, |
387 | unsigned int npages) | 387 | unsigned int npages) |
388 | { | 388 | { |
389 | struct nfs_page *pgvec[NFS_SCAN_MAXENTRIES]; | 389 | struct nfs_page *pgvec[NFS_SCAN_MAXENTRIES]; |
390 | struct nfs_page *req; | 390 | struct nfs_page *req; |
391 | unsigned long idx_end; | 391 | pgoff_t idx_end; |
392 | int found, i; | 392 | int found, i; |
393 | int res; | 393 | int res; |
394 | 394 | ||