Searched refs:inode_k (Results 1 – 1 of 1) sorted by relevance
2786 static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c inode_k) in check_path() argument2792 u32 snapshot = inode_k.k->p.snapshot; in check_path()2797 BUG_ON(bch2_inode_unpack(inode_k, &inode)); in check_path()2817 bch2_bkey_val_to_text(&buf, c, inode_k); in check_path()2835 inode_k = bch2_bkey_get_iter(trans, &inode_iter, BTREE_ID_inodes, in check_path()2837 ret = bkey_err(inode_k) ?: in check_path()2838 !bkey_is_inode(inode_k.k) ? -BCH_ERR_ENOENT_inode in check_path()2839 : bch2_inode_unpack(inode_k, &inode); in check_path()2846 snapshot = inode_k.k->p.snapshot; in check_path()