diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-10-30 16:56:53 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | 35ebb934bd7fcc7ca991b155b7980c3c4ff9f1a5 (patch) | |
tree | ce2980aac2b06a75b18b0c523aa0d859f09c8fad /fs/btrfs/disk-io.c | |
parent | 2ff3e9b61d02b03e3157f7d43ba20ee1452814de (diff) |
Btrfs: Fix PAGE_CACHE_SHIFT shifts on 32 bit machines
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
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, | |||
159 | int csum_dirty_buffer(struct btrfs_root *root, struct page *page) | 159 | int 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; |