BTRFS_TREE_LOG_OBJECTID
case BTRFS_TREE_LOG_OBJECTID:
if (btrfs_root_id(root) == BTRFS_TREE_LOG_OBJECTID)
btrfs_root_id(root) != BTRFS_TREE_LOG_OBJECTID &&
if (btrfs_root_id(root) != BTRFS_TREE_LOG_OBJECTID &&
log_tree_root = btrfs_alloc_root(fs_info, BTRFS_TREE_LOG_OBJECTID,
check.owner_root = BTRFS_TREE_LOG_OBJECTID;
btrfs_header_owner(eb) == BTRFS_TREE_LOG_OBJECTID);
root = btrfs_alloc_root(fs_info, BTRFS_TREE_LOG_OBJECTID, GFP_NOFS);
root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID;
root->root_key.offset = BTRFS_TREE_LOG_OBJECTID;
leaf = btrfs_alloc_tree_block(trans, root, 0, BTRFS_TREE_LOG_OBJECTID,
generic_ref->ref_root == BTRFS_TREE_LOG_OBJECTID);
if (root_id != BTRFS_TREE_LOG_OBJECTID) {
if (root_id != BTRFS_TREE_LOG_OBJECTID) {
if (ref->ref_root == BTRFS_TREE_LOG_OBJECTID) {
if (ref->ref_root != BTRFS_TREE_LOG_OBJECTID)
bool for_treelog = (btrfs_root_id(root) == BTRFS_TREE_LOG_OBJECTID);
ASSERT(generic_ref.ref_root != BTRFS_TREE_LOG_OBJECTID);
if (btrfs_root_id(root) == BTRFS_TREE_LOG_OBJECTID) {
if (root_objectid != BTRFS_TREE_LOG_OBJECTID) {
if (btrfs_root_id(root) == BTRFS_TREE_LOG_OBJECTID) {
btrfs_root_id(root) == BTRFS_TREE_LOG_OBJECTID);
update_refs = (btrfs_root_id(root) != BTRFS_TREE_LOG_OBJECTID);
{ .id = BTRFS_TREE_LOG_OBJECTID, DEFINE_NAME("log") },
{ BTRFS_TREE_LOG_OBJECTID, "TREE_LOG" },
ASSERT(btrfs_root_id(log_root) == BTRFS_TREE_LOG_OBJECTID,
if (root_owner == BTRFS_TREE_LOG_OBJECTID ||
ASSERT(btrfs_root_id(root) != BTRFS_TREE_LOG_OBJECTID);
key.objectid = BTRFS_TREE_LOG_OBJECTID;
if (found_key.objectid != BTRFS_TREE_LOG_OBJECTID)
{ BTRFS_TREE_LOG_OBJECTID, "TREE_LOG" }, \