From: Zygo Blaxell Date: Sun, 8 Dec 2019 05:59:03 +0000 (-0500) Subject: Revert "zygo: btrfs: check for dead roots" X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2019-12-07;p=linux Revert "zygo: btrfs: check for dead roots" This reverts commit be7f1587feddf14a9070e7ccddc9e1d9d343f830. --- diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index d0ed9c2e5460..bcb9cb849523 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4692,11 +4692,6 @@ int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans, if (!root->reloc_root) return 0; - if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->reloc_root->state)) { - WARN_ON(1); - return 0; - } - rc = root->fs_info->reloc_ctl; rc->merging_rsv_size += rc->nodes_relocated;