aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 5a7e60d7f443..8935eec31ee2 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -159,7 +159,7 @@ static int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
159int csum_dirty_buffer(struct btrfs_root *root, struct page *page) 159int csum_dirty_buffer(struct btrfs_root *root, struct page *page)
160{ 160{
161 struct extent_map_tree *tree; 161 struct extent_map_tree *tree;
162 u64 start = page->index << PAGE_CACHE_SHIFT; 162 u64 start = (u64)page->index << PAGE_CACHE_SHIFT;
163 u64 found_start; 163 u64 found_start;
164 int found_level; 164 int found_level;
165 unsigned long len; 165 unsigned long len;