btrfs: btrfs_decompress_bio() could accept compressed_bio instead
authorAnand Jain <anand.jain@oracle.com>
Fri, 26 May 2017 07:44:58 +0000 (15:44 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:00 +0000 (18:26 +0200)
commit8140dc30a432694d851c1b24b8eda95acd494e16
treee62b2c7c0c62b3b1923faaba6733949874587cd9
parentd2006e6d28ae2182db9f12dc686cfca78e878f52
btrfs: btrfs_decompress_bio() could accept compressed_bio instead

Instead of sending each argument of struct compressed_bio, send
the compressed_bio itself.

Also by having struct compressed_bio in btrfs_decompress_bio()
it would help tracing.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c