projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190662b
)
Btrfs: Fix nodatacow extent lookup
author
Chris Mason
<chris.mason@oracle.com>
Wed, 19 Dec 2007 14:11:48 +0000
(09:11 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000
(11:03 -0400)
Yan Zheng noticed the offset into the extent was incorrectly being added to the
extent start before trying to find it in the extent allocation tree.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index 55b2e14260243cfa9312cffc1bd716da6f43eb79..1c61c85dc3d824f109a3154d2acaa3321780f21a 100644
(file)
--- a/
fs/btrfs/inode.c
+++ b/
fs/btrfs/inode.c
@@
-177,7
+177,6
@@
again:
if (bytenr == 0)
goto not_found;
- bytenr += btrfs_file_extent_offset(leaf, item);
if (btrfs_count_snapshots_in_path(root, path, bytenr) != 1) {
goto not_found;
}