diff options
Diffstat (limited to 'fs/gfs2/ops_vm.c')
-rw-r--r-- | fs/gfs2/ops_vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_vm.c b/fs/gfs2/ops_vm.c index 32ec8574ac8e..3b3463144126 100644 --- a/fs/gfs2/ops_vm.c +++ b/fs/gfs2/ops_vm.c | |||
@@ -62,7 +62,7 @@ static int alloc_page_backing(struct gfs2_inode *ip, struct page *page) | |||
62 | { | 62 | { |
63 | struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); | 63 | struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); |
64 | unsigned long index = page->index; | 64 | unsigned long index = page->index; |
65 | uint64_t lblock = index << (PAGE_CACHE_SHIFT - | 65 | u64 lblock = index << (PAGE_CACHE_SHIFT - |
66 | sdp->sd_sb.sb_bsize_shift); | 66 | sdp->sd_sb.sb_bsize_shift); |
67 | unsigned int blocks = PAGE_CACHE_SIZE >> sdp->sd_sb.sb_bsize_shift; | 67 | unsigned int blocks = PAGE_CACHE_SIZE >> sdp->sd_sb.sb_bsize_shift; |
68 | struct gfs2_alloc *al; | 68 | struct gfs2_alloc *al; |
@@ -101,7 +101,7 @@ static int alloc_page_backing(struct gfs2_inode *ip, struct page *page) | |||
101 | } | 101 | } |
102 | 102 | ||
103 | for (x = 0; x < blocks; ) { | 103 | for (x = 0; x < blocks; ) { |
104 | uint64_t dblock; | 104 | u64 dblock; |
105 | unsigned int extlen; | 105 | unsigned int extlen; |
106 | int new = 1; | 106 | int new = 1; |
107 | 107 | ||