]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: do not return errors from btrfs_submit_compressed_read
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Apr 2022 14:33:27 +0000 (16:33 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:14 +0000 (17:03 +0200)
commitf77c829236e7d6c8ca6c9b5929312335a34b5782
tree164486df16136840cf331b3338c63f91ce3c0e69
parent6ab0581f571a952b8986423683bc2e725c5eed10
btrfs: do not return errors from btrfs_submit_compressed_read

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

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@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/compression.c
fs/btrfs/compression.h
fs/btrfs/inode.c