mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
Use pgoff_t instead of unsigned long
Convert variables containing page indexes to pgoff_t. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
476aed3870
commit
2004dc8eec
2 changed files with 3 additions and 2 deletions
|
@ -1332,7 +1332,7 @@ int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|||
struct file_ra_state *ra = &file->f_ra;
|
||||
struct inode *inode = mapping->host;
|
||||
struct page *page;
|
||||
unsigned long size;
|
||||
pgoff_t size;
|
||||
int did_readaround = 0;
|
||||
int ret = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue