unsigned long slot;
slot = start / BIT_RADIX_BITS_PER_ARRAY;
- ret = radix_tree_gang_lookup(radix, (void **)gang, slot,
+ ret = radix_tree_gang_lookup(radix, (void *)gang, slot,
ARRAY_SIZE(gang));
found = start % BIT_RADIX_BITS_PER_ARRAY;
for (i = 0; i < ret && nr > 0; i++) {
int err = 0;
while(1) {
- ret = radix_tree_gang_lookup(extent_radix, (void **)rec, 0,
+ ret = radix_tree_gang_lookup(extent_radix, (void *)rec, 0,
ARRAY_SIZE(rec));
if (!ret)
break;
btrfs_init_path(&path);
while(1) {
- ret = radix_tree_gang_lookup_tag(radix, (void **)cache,
+ ret = radix_tree_gang_lookup_tag(radix, (void *)cache,
0, ARRAY_SIZE(cache),
BTRFS_BLOCK_GROUP_DIRTY);
if (!ret)
while(total) {
ret = radix_tree_gang_lookup(&info->block_group_radix,
- (void **)&cache, blocknr, 1);
+ (void *)&cache, blocknr, 1);
if (!ret)
return -1;
radix_tree_tag_set(&info->block_group_radix,
while(1) {
ret = radix_tree_gang_lookup(&root->fs_info->pinned_radix,
- (void **)gang, 0,
+ (void *)gang, 0,
ARRAY_SIZE(gang));
if (!ret)
break;
while(1) {
ret = radix_tree_gang_lookup_tag(
&extent_root->fs_info->cache_radix,
- (void **)gang, 0,
+ (void *)gang, 0,
ARRAY_SIZE(gang),
CTREE_EXTENT_PENDING_DEL);
if (!ret)
while(1) {
ret = radix_tree_gang_lookup(&info->block_group_radix,
- (void **)cache, 0,
+ (void *)cache, 0,
ARRAY_SIZE(cache));
if (!ret)
break;
return NULL;
if (height == 0 && root->rnode)
- return (void **)&root->rnode;
+ return (void *)&root->rnode;
shift = (height-1) * RADIX_TREE_MAP_SHIFT;
slot = &root->rnode;