]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commit94d9e11b27954de649ff8802b216b1ff20d845f7
treef6d99bc504f6dddebf01e7f724e3d08e5a161a91
parentabf48d5871b6935fcc5f23ea4997cd63a9046961
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