Message ID | 20220407153855.21089-7-gniebler@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Turn delayed_nodes_tree into XArray and adjust usages | expand |
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index efe8b37c9504..c2c7a1e2b3f9 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1164,7 +1164,7 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, root->nr_delalloc_inodes = 0; root->nr_ordered_extents = 0; root->inode_tree = RB_ROOT; - INIT_RADIX_TREE(&root->delayed_nodes_xarray, GFP_ATOMIC); + xa_init_flags(&root->delayed_nodes_xarray, GFP_ATOMIC); btrfs_init_root_block_rsv(root);
Signed-off-by: Gabriel Niebler <gniebler@suse.com> --- fs/btrfs/disk-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)