diff options
author | 2024-10-18 11:29:37 +0100 | |
---|---|---|
committer | 2024-11-11 14:34:20 +0100 | |
commit | 055903c4e7fa2945b1b4014726e7268056047242 (patch) | |
tree | a2e87168887c2089ad96f156d0d25380f75b176d /scripts/gcc-plugins/structleak_plugin.c | |
parent | btrfs: remove duplicated code to drop delayed ref during transaction abort (diff) | |
download | wireguard-linux-055903c4e7fa2945b1b4014726e7268056047242.tar.xz wireguard-linux-055903c4e7fa2945b1b4014726e7268056047242.zip |
btrfs: use helper to find first ref head at btrfs_destroy_delayed_refs()
Instead of open coding it, use the find_first_ref_head() helper at
btrfs_destroy_delayed_refs(). This avoids duplicating the logic,
specially with the upcoming changes in subsequent patches.
Reviewed-by: Boris Burkov <boris@bur.io>
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 '')
0 files changed, 0 insertions, 0 deletions