]> git.hungrycats.org Git - linux/commitdiff
Revert "zygo: btrfs: check for DEAD_RELOC_TREE in fs/btrfs/relocation.c"
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 8 Dec 2019 05:59:00 +0000 (00:59 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 8 Dec 2019 05:59:00 +0000 (00:59 -0500)
This reverts commit 58c565293237591eb0bd3baeb553b34b74d08fab.

fs/btrfs/relocation.c

index 72f998d32fd4d31e5d5f4a31a8d82ae0b2aaa501..d0ed9c2e5460c77d8cfa49c22f10a1219b96fcc5 100644 (file)
@@ -521,10 +521,6 @@ static int should_ignore_root(struct btrfs_root *root)
 
        if (!test_bit(BTRFS_ROOT_REF_COWS, &root->state))
                return 0;
-       if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state)) {
-               WARN_ON(1);
-               return 0;
-       }
 
        reloc_root = root->reloc_root;
        if (!reloc_root)