btrfs: merge btrfs_submit_bio_done to its caller
authorDavid Sterba <dsterba@suse.com>
Tue, 17 Jul 2018 20:08:41 +0000 (22:08 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:40 +0000 (14:51 +0100)
commit06ea01b1eeb10450ee8448f8895dd641c8d37047
treefbb64cce93f98449fb60954f7fe68cfa2704caab
parent7333bd02dcb7cefa91eb94efb8e7578ec764145c
btrfs: merge btrfs_submit_bio_done to its caller

There's one caller and its code is simple, we can open code it in
run_one_async_done. The errors are passed through bio.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/inode.c