Searched refs:root_subvol (Results 1 – 1 of 1) sorted by relevance
2534 struct bkey_i_subvolume *root_subvol = in check_root_trans() local2535 bch2_trans_kmalloc(trans, sizeof(*root_subvol)); in check_root_trans()2536 ret = PTR_ERR_OR_ZERO(root_subvol); in check_root_trans()2543 bkey_subvolume_init(&root_subvol->k_i); in check_root_trans()2544 root_subvol->k.p.offset = BCACHEFS_ROOT_SUBVOL; in check_root_trans()2545 root_subvol->v.flags = 0; in check_root_trans()2546 root_subvol->v.snapshot = cpu_to_le32(snapshot); in check_root_trans()2547 root_subvol->v.inode = cpu_to_le64(inum); in check_root_trans()2548 ret = bch2_btree_insert_trans(trans, BTREE_ID_subvolumes, &root_subvol->k_i, 0); in check_root_trans()