diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-03-07 17:39:42 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:17 +0200 |
| commit | d733ea012db32ea4354c6d89b9538bbe8aa9388e (patch) | |
| tree | 0f0ad0dc312f69a677904401121add4c1c6799a1 /tools/perf/scripts/python | |
| parent | b7d463a1d1252c2cd5e9f13c008eb49b8a5f75af (diff) | |
btrfs: simplify finding the inode in submit_one_bio
struct btrfs_bio now has an always valid inode pointer that can be used
to find the inode in submit_one_bio, so use that and initialize all
variables for which it is possible at declaration time.
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
