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 /tools/perf/scripts/python | |
| parent | btrfs: return a btrfs_bio from btrfs_bio_alloc (diff) | |
| download | linux-2cef0c79bb81d8bae1dbc45195771a824ca45e76.tar.gz linux-2cef0c79bb81d8bae1dbc45195771a824ca45e76.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
