]> 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>
Tue, 10 Dec 2019 17:29:16 +0000 (12:29 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 14 Dec 2019 04:53:10 +0000 (23:53 -0500)
This reverts commit 92038017ebf650b7dacce333ff7e6b91d296997c.

(cherry picked from commit 69b54a88bfcec2b90d99699185f381fdbf20bb1d)

fs/btrfs/relocation.c

index b566d3fd80077cf2c176d12eca5970db7409de6a..38161cca29af6f36774fbe82016da29ed487d69f 100644 (file)
@@ -525,10 +525,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)