mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
range_tree: drop duplicate zfs_ prefix from rs_set_fill_raw
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: hoshinomori <hoshinomori@owarisekai.moe> Closes #17800
This commit is contained in:
committed by
Brian Behlendorf
parent
35ec4b14ab
commit
f3295ec763
@@ -238,8 +238,7 @@ zfs_rs_set_end_raw(zfs_range_seg_t *rs, zfs_range_tree_t *rt, uint64_t end)
|
||||
}
|
||||
|
||||
static inline void
|
||||
zfs_zfs_rs_set_fill_raw(zfs_range_seg_t *rs, zfs_range_tree_t *rt,
|
||||
uint64_t fill)
|
||||
zfs_rs_set_fill_raw(zfs_range_seg_t *rs, zfs_range_tree_t *rt, uint64_t fill)
|
||||
{
|
||||
ASSERT3U(rt->rt_type, <=, ZFS_RANGE_SEG_NUM_TYPES);
|
||||
switch (rt->rt_type) {
|
||||
@@ -277,7 +276,7 @@ static inline void
|
||||
zfs_rs_set_fill(zfs_range_seg_t *rs, zfs_range_tree_t *rt, uint64_t fill)
|
||||
{
|
||||
ASSERT(IS_P2ALIGNED(fill, 1ULL << rt->rt_shift));
|
||||
zfs_zfs_rs_set_fill_raw(rs, rt, fill >> rt->rt_shift);
|
||||
zfs_rs_set_fill_raw(rs, rt, fill >> rt->rt_shift);
|
||||
}
|
||||
|
||||
typedef void zfs_range_tree_func_t(void *arg, uint64_t start, uint64_t size);
|
||||
|
||||
Reference in New Issue
Block a user