]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: change return type of btree_csum_one_bio() to int
authorDavid Sterba <dsterba@suse.com>
Wed, 23 Apr 2025 15:57:16 +0000 (17:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:48 +0000 (14:30 +0200)
commita24d185c3675f58691a013b58ba4a02a9763ac9f
treeef71071350b0a0a5bcad053a4042be2854b47f07
parent9b20d242af41197956c9d3cb6b5bbe7706da5d4d
btrfs: change return type of btree_csum_one_bio() to int

The type blk_status_t is from block layer and not related to checksums
in our context. Use int internally and do the conversions to blk_status_t
as needed in btrfs_bio_csum().

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/bio.c
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h