mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +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
@@ -35,7 +35,7 @@ typedef struct spa_vdev_removal {
|
||||
/* Thread performing a vdev removal. */
|
||||
kthread_t *svr_thread;
|
||||
/* Segments left to copy from the current metaslab. */
|
||||
range_tree_t *svr_allocd_segs;
|
||||
zfs_range_tree_t *svr_allocd_segs;
|
||||
kmutex_t svr_lock;
|
||||
kcondvar_t svr_cv;
|
||||
boolean_t svr_thread_exit;
|
||||
@@ -49,7 +49,7 @@ typedef struct spa_vdev_removal {
|
||||
* Ranges that were freed while a mapping was in flight. This is
|
||||
* a subset of the ranges covered by vdev_im_new_segments.
|
||||
*/
|
||||
range_tree_t *svr_frees[TXG_SIZE];
|
||||
zfs_range_tree_t *svr_frees[TXG_SIZE];
|
||||
|
||||
/*
|
||||
* Number of bytes which we have finished our work for
|
||||
|
||||
Reference in New Issue
Block a user