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

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