]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
btrfs: opencode trivial compressed_bio_alloc, simplify error handling
authorDavid Sterba <dsterba@suse.com>
Fri, 2 Jun 2017 16:01:51 +0000 (18:01 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:03 +0000 (18:26 +0200)
commit9886b1743350db379f7845715e39d0cbe0e0de88
tree8e4d2ccc246e1e745333d192249bc5b51df84823
parent9f2179a5e72b794f8af22a6818d83d1600050c5c
btrfs: opencode trivial compressed_bio_alloc, simplify error handling

compressed_bio_alloc is now a trivial wrapper around btrfs_bio_alloc, no
point keeping it. The error handling can be simplified, as we know
btrfs_bio_alloc will never fail.

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