diff options
| author | 2024-10-18 11:29:37 +0100 | |
|---|---|---|
| committer | 2024-11-11 14:34:20 +0100 | |
| commit | 055903c4e7fa2945b1b4014726e7268056047242 (patch) | |
| tree | a2e87168887c2089ad96f156d0d25380f75b176d /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | btrfs: remove duplicated code to drop delayed ref during transaction abort (diff) | |
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 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
