Home
last modified time | relevance | path

Searched refs:n_parent (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsnapshot.c1249 struct bkey_i_snapshot *n_parent; in bch2_snapshot_node_create_children() local
1252 n_parent = bch2_bkey_get_mut_typed(trans, &iter, in bch2_snapshot_node_create_children()
1255 ret = PTR_ERR_OR_ZERO(n_parent); in bch2_snapshot_node_create_children()
1262 if (n_parent->v.children[0] || n_parent->v.children[1]) { in bch2_snapshot_node_create_children()
1268 ret = create_snapids(trans, parent, le32_to_cpu(n_parent->v.tree), in bch2_snapshot_node_create_children()
1273 n_parent->v.children[0] = cpu_to_le32(new_snapids[0]); in bch2_snapshot_node_create_children()
1274 n_parent->v.children[1] = cpu_to_le32(new_snapids[1]); in bch2_snapshot_node_create_children()
1275 n_parent->v.subvol = 0; in bch2_snapshot_node_create_children()
1276 SET_BCH_SNAPSHOT_SUBVOL(&n_parent->v, false); in bch2_snapshot_node_create_children()