[media] bttv: rename field 'audio' in struct 'bttv' to 'audio_input'
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / relocation.c
index 17c306bf177a22b89f73df539d4622a63946f07f..50695dc5e2abb273a221a1d03446016b66039c53 100644 (file)
@@ -3017,7 +3017,7 @@ static int relocate_file_extent_cluster(struct inode *inode,
                        }
                }
 
-               page_start = (u64)page->index << PAGE_CACHE_SHIFT;
+               page_start = page_offset(page);
                page_end = page_start + PAGE_CACHE_SIZE - 1;
 
                lock_extent(&BTRFS_I(inode)->io_tree, page_start, page_end);