Searched refs:root_tree (Results 1 – 1 of 1) sorted by relevance
614 struct bkey_i_snapshot_tree root_tree; in bch2_initialize_subvolumes() local619 bkey_snapshot_tree_init(&root_tree.k_i); in bch2_initialize_subvolumes()620 root_tree.k.p.offset = 1; in bch2_initialize_subvolumes()621 root_tree.v.master_subvol = cpu_to_le32(1); in bch2_initialize_subvolumes()622 root_tree.v.root_snapshot = cpu_to_le32(U32_MAX); in bch2_initialize_subvolumes()638 ret = bch2_btree_insert(c, BTREE_ID_snapshot_trees, &root_tree.k_i, NULL, 0, 0) ?: in bch2_initialize_subvolumes()