diff options
author | Christoph Hellwig <hch@lst.de> | 2023-03-07 17:39:45 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:18 +0200 |
commit | 2cef0c79bb81d8bae1dbc45195771a824ca45e76 (patch) | |
tree | 4c3782514eada92293da400a458deefd892d57a0 /.clang-format | |
parent | b41bbd293e64016b3bfad4e5f709fcc07f00b2c5 (diff) |
btrfs: make btrfs_split_bio work on struct btrfs_bio
btrfs_split_bio expects a btrfs_bio as argument and always allocates one.
Type both the orig_bio argument and the return value as struct btrfs_bio
to improve type safety.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions