mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Linux 6.12 compat: Rename range_tree_* to zfs_range_tree_*
Linux 6.12 has conflicting range_tree_{find,destroy,clear} symbols.
Signed-off-by: Ivan Volosyuk <Ivan.Volosyuk@gmail.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
This commit is contained in:
committed by
Tony Hutter
parent
db62886d98
commit
d4a5a7e3aa
@@ -235,9 +235,9 @@ spa_checkpoint_discard_sync_callback(space_map_entry_t *sme, void *arg)
|
||||
* potentially save ourselves from future headaches.
|
||||
*/
|
||||
mutex_enter(&ms->ms_lock);
|
||||
if (range_tree_is_empty(ms->ms_freeing))
|
||||
if (zfs_range_tree_is_empty(ms->ms_freeing))
|
||||
vdev_dirty(vd, VDD_METASLAB, ms, sdc->sdc_txg);
|
||||
range_tree_add(ms->ms_freeing, sme->sme_offset, sme->sme_run);
|
||||
zfs_range_tree_add(ms->ms_freeing, sme->sme_offset, sme->sme_run);
|
||||
mutex_exit(&ms->ms_lock);
|
||||
|
||||
ASSERT3U(vd->vdev_spa->spa_checkpoint_info.sci_dspace, >=,
|
||||
|
||||
Reference in New Issue
Block a user