diff options
author | 2025-05-01 12:54:03 +0100 | |
---|---|---|
committer | 2025-05-15 14:30:54 +0200 | |
commit | c5d12d5b621258eb07f4106dc9196affed1c22d0 (patch) | |
tree | 972aed4b78f94c89d801379d5d3058f67345bb64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: simplify cow only root list extraction during transaction commit (diff) | |
download | linux-rng-c5d12d5b621258eb07f4106dc9196affed1c22d0.tar.xz linux-rng-c5d12d5b621258eb07f4106dc9196affed1c22d0.zip |
btrfs: raid56: use list_last_entry() at cache_rbio()
Instead of using list_entry() against the list's prev entry, use
list_last_entry(), which removes the need to know the last member is
accessed through the prev list pointer and the naming makes it easier
to reason about what we are doing.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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