aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorRoger L. Beckermeyer III <[email protected]>2024-12-17 21:58:52 +0000
committerDavid Sterba <[email protected]>2025-01-13 13:53:18 +0000
commit14ae60c71221d3ec64482476262e5b9eb4494be4 (patch)
treed2b63d0c6a2cffa02f8a09bb3ec6628da64c9186 /fs/btrfs/delayed-inode.c
parentbtrfs: update btrfs_add_block_group_cache() to use rb helper (diff)
downloadkernel-14ae60c71221d3ec64482476262e5b9eb4494be4.tar.gz
kernel-14ae60c71221d3ec64482476262e5b9eb4494be4.zip
btrfs: update prelim_ref_insert() to use rb helpers
Update prelim_ref_insert() to use rb_find_add_cached(). There is a special change that the existing prelim_ref_compare() is called with the first parameter as the existing ref in the rbtree. But the newer rb_find_add_cached() expects the cmp() function to have the first parameter as the to-be-added node, thus the new helper prelim_ref_rb_add_cmp() need to adapt this new order. Signed-off-by: Roger L. Beckermeyer III <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions