]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: use right range to find checksum for compressed extents
authorLiu Bo <bo.li.liu@oracle.com>
Sun, 6 Jan 2013 03:38:22 +0000 (03:38 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 24 Jan 2013 17:51:17 +0000 (12:51 -0500)
commit192000dda22e02225772e862b92e7c09e5a17d08
tree5ebfe29a6aa6b47f869adb7bc84cc954b733102d
parentb0175117b9376a69978bbe80af26fb95dddbd53e
Btrfs: use right range to find checksum for compressed extents

For compressed extents, the range of checksum is covered by disk length,
and the disk length is different with ram length, so we need to use disk
length instead to get us the right checksum.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/tree-log.c