Btrfs: Fix compressed checksum fsync log copies
authorChris Mason <chris.mason@oracle.com>
Tue, 9 Dec 2008 00:15:39 +0000 (19:15 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 9 Dec 2008 00:15:39 +0000 (19:15 -0500)
commit580afd76e451deb6772d0507de580fb1df14da6c
treeea112be78807b07f617efffefb532e19778dc9bb
parentc3027eb5523d6983f12628f3fe13d8a7576db701
Btrfs: Fix compressed checksum fsync log copies

The fsync logging code makes sure to onl copy the relevant checksum for each
extent based on the file extent pointers it finds.

But for compressed extents, it needs to copy the checksum for the
entire extent.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c
fs/btrfs/tree-log.c