--- fs/btrfs/disk-io.c
+++ fs/btrfs/disk-io.c
@@ -1145,10 +1145,8 @@ struct btrfs_root *btrfs_read_fs_root_no
root->commit_root = btrfs_root_node(root);
BUG_ON(!root->node);
out:
- if (location->objectid != BTRFS_TREE_LOG_OBJECTID) {
+ if (location->objectid != BTRFS_TREE_LOG_OBJECTID)
root->ref_cows = 1;
- btrfs_check_and_init_root_item(&root->root_item);
- }
return root;
}