summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-03-06 19:07:18 +0300
committerDavid Sterba <dsterba@suse.com>2025-03-18 22:35:50 +0300
commit9024b744e716819b0130673b9ae242e46b00b6cb (patch)
tree3684396be2bb1312276d06db7416401fc12d6331 /tools/perf/scripts/python/export-to-postgresql.py
parentcda76788f8b0f7de3171100e3164ec1ce702292e (diff)
downloadlinux-9024b744e716819b0130673b9ae242e46b00b6cb.tar.xz
btrfs: avoid unnecessary bio dereference at run_one_async_done()
We have dereferenced the async_submit_bio structure and extracted the bio pointer into a local variable, so there's no need to dereference it again when calling btrfs_bio_end_io(). Just use "bio->bi_status" instead of the longer expression "async->bbio->bio.bi_status". Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions