]> git.baikalelectronics.ru Git - kernel.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)
commit90f5c78f3d9740c216e094ee926268994722ae4e
tree86b4d00e04802149d689db8a62d2c514fb05fed0
parentdd5b6edc02e78f6b5990663b752af5cb04dfc198
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