Lines Matching refs:log_tree_root
2360 struct btrfs_root *log_tree_root; in btrfs_replay_log() local
2370 log_tree_root = btrfs_alloc_root(fs_info, BTRFS_TREE_LOG_OBJECTID, in btrfs_replay_log()
2372 if (!log_tree_root) in btrfs_replay_log()
2375 log_tree_root->node = read_tree_block(fs_info, bytenr, in btrfs_replay_log()
2379 if (IS_ERR(log_tree_root->node)) { in btrfs_replay_log()
2381 ret = PTR_ERR(log_tree_root->node); in btrfs_replay_log()
2382 log_tree_root->node = NULL; in btrfs_replay_log()
2383 btrfs_put_root(log_tree_root); in btrfs_replay_log()
2386 if (!extent_buffer_uptodate(log_tree_root->node)) { in btrfs_replay_log()
2388 btrfs_put_root(log_tree_root); in btrfs_replay_log()
2393 ret = btrfs_recover_log_trees(log_tree_root); in btrfs_replay_log()
2397 btrfs_put_root(log_tree_root); in btrfs_replay_log()