Searched refs:n_parent (Results 1 – 1 of 1) sorted by relevance
1316 struct bkey_i_snapshot *n_parent; in bch2_snapshot_node_create_children() local1319 n_parent = bch2_bkey_get_mut_typed(trans, &iter, in bch2_snapshot_node_create_children()1322 ret = PTR_ERR_OR_ZERO(n_parent); in bch2_snapshot_node_create_children()1329 if (n_parent->v.children[0] || n_parent->v.children[1]) { in bch2_snapshot_node_create_children()1335 ret = create_snapids(trans, parent, le32_to_cpu(n_parent->v.tree), in bch2_snapshot_node_create_children()1340 n_parent->v.children[0] = cpu_to_le32(new_snapids[0]); in bch2_snapshot_node_create_children()1341 n_parent->v.children[1] = cpu_to_le32(new_snapids[1]); in bch2_snapshot_node_create_children()1342 n_parent->v.subvol = 0; in bch2_snapshot_node_create_children()1343 SET_BCH_SNAPSHOT_SUBVOL(&n_parent->v, false); in bch2_snapshot_node_create_children()