diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-04-17 23:22:13 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-01 07:17:09 +0200 |
commit | ca52fec152282ef73e5e882b847b36b1febbb1c6 (patch) | |
tree | 8eb28f127a04b83af3abdfbf3d97c630e1668986 /fs/nfs/pagelist.c | |
parent | NFS: Clean up nfs_sync_mapping_wait() (diff) | |
download | linux-ca52fec152282ef73e5e882b847b36b1febbb1c6.tar.xz linux-ca52fec152282ef73e5e882b847b36b1febbb1c6.zip |
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) * 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; |