Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dfsck.c2639 struct bkey_i_subvolume *root_subvol = in check_root_trans() local
2640 bch2_trans_kmalloc(trans, sizeof(*root_subvol)); in check_root_trans()
2641 ret = PTR_ERR_OR_ZERO(root_subvol); in check_root_trans()
2648 bkey_subvolume_init(&root_subvol->k_i); in check_root_trans()
2649 root_subvol->k.p.offset = BCACHEFS_ROOT_SUBVOL; in check_root_trans()
2650 root_subvol->v.flags = 0; in check_root_trans()
2651 root_subvol->v.snapshot = cpu_to_le32(snapshot); in check_root_trans()
2652 root_subvol->v.inode = cpu_to_le64(inum); in check_root_trans()
2653 ret = bch2_btree_insert_trans(trans, BTREE_ID_subvolumes, &root_subvol->k_i, 0); in check_root_trans()