btrfs: use bio iterators for the decompression handlers
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Nov 2016 08:07:46 +0000 (09:07 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:19 +0000 (13:45 +0100)
commit974b1adc3b103fae1dbc1fe6a8aceeca2878f20e
tree0b0aa4829383f26f184e6dc631ab36ae40a93554
parent0c476a5d7f63bdae0b6188a191a6e9eb8f1024d7
btrfs: use bio iterators for the decompression handlers

Pass the full bio to the decompression routines and use bio iterators
to iterate over the data in the bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/lzo.c
fs/btrfs/zlib.c