]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: fix csum search offset/length calculation in log tree
authorFilipe David Borba Manana <fdmanana@gmail.com>
Mon, 28 Oct 2013 16:30:29 +0000 (16:30 +0000)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:10:42 +0000 (22:10 -0500)
commit488111aa0e17102d42e0328299fd782dc6a4a051
tree86b4d00e04802149d689db8a62d2c514fb05fed0
parente46f5388cdde0f402f2dded6f1cad614536c6429
Btrfs: fix csum search offset/length calculation in log tree

We were setting the csums search offset and length to the right values if
the extent is compressed, but later on right before doing the csums lookup
we were overriding these two parameters regardless of compression being
set or not for the extent.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/tree-log.c