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)
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>

No differences found