]> 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)
commitd6f90e3de07bfcf43a0639248350c6c21d5c1d82
tree86b4d00e04802149d689db8a62d2c514fb05fed0
parent445e449f16792b85345c11917f16190e0151e36c
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