projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] bttv: rename field 'audio' in struct 'bttv' to 'audio_input'
[firefly-linux-kernel-4.4.55.git]
/
fs
/
btrfs
/
relocation.c
diff --git
a/fs/btrfs/relocation.c
b/fs/btrfs/relocation.c
index 17c306bf177a22b89f73df539d4622a63946f07f..50695dc5e2abb273a221a1d03446016b66039c53 100644
(file)
--- a/
fs/btrfs/relocation.c
+++ b/
fs/btrfs/relocation.c
@@
-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);