]> 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>
Thu, 26 Dec 2019 22:15:14 +0000 (17:15 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 26 Dec 2019 22:15:14 +0000 (17:15 -0500)
This reverts commit de97fa43b71a6515cb574419e97c921878547752.

fs/btrfs/relocation.c

index 3f913b424db4bcb436bfd29f9b7272baac786036..6d2cdccca7cb122e7de09b6eaeb8ebe069ce50fb 100644 (file)
@@ -523,10 +523,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)