]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: change return type of btrfs_bio_csum() to int
authorDavid Sterba <dsterba@suse.com>
Wed, 23 Apr 2025 15:57:17 +0000 (17:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:48 +0000 (14:30 +0200)
commit64c13195dd82537c60dea8b2891beeb4db9a5cd5
treeb6c44e2b2b0913d13f7e3d0f41a103f50c32ef96
parenta24d185c3675f58691a013b58ba4a02a9763ac9f
btrfs: change return type of btrfs_bio_csum() 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.

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