btrfs: do not return errors from btrfs_submit_metadata_bio
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Apr 2022 14:33:26 +0000 (16:33 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:14 +0000 (17:03 +0200)
commit6ab0581f571a952b8986423683bc2e725c5eed10
treef6d99bc504f6dddebf01e7f724e3d08e5a161a91
parenteb98f68cdb1a0425601ed5d9a76c40c882043c83
btrfs: do not return errors from btrfs_submit_metadata_bio

btrfs_submit_metadata_bio already calls ->bi_end_io on error and the
caller must ignore the return value, so remove it.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h