]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: change return type of btrfs_csum_one_bio() to int
authorDavid Sterba <dsterba@suse.com>
Wed, 23 Apr 2025 15:57:15 +0000 (17:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:48 +0000 (14:30 +0200)
commit9b20d242af41197956c9d3cb6b5bbe7706da5d4d
tree2cd096c52d96ff31b38667b38636d02d5f7805d3
parent6f6e7e98b081d47d997ae8753539a51bee29856d
btrfs: change return type of btrfs_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/file-item.c
fs/btrfs/file-item.h