btrfs: bioset allocations will never fail, adapt our helpers
authorDavid Sterba <dsterba@suse.com>
Fri, 2 Jun 2017 15:26:26 +0000 (17:26 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:02 +0000 (18:26 +0200)
commit6e707bcd1f71949c7fc0520c388c64aae91b2d77
tree6cf48478f58d80c281f1c8e2c55429c8df8177bb
parent6acafd1eff426ac21dbf70498d8739304c4bf928
btrfs: bioset allocations will never fail, adapt our helpers

Christoph pointed out that bio allocations backed by a bioset will never
fail.  As we always use a bioset for all bio allocations, we can skip
the error handling.  This patch adjusts our low-level helpers, the
cascaded changes to all callers will come next.

CC: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c