We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c9991 commit bf61aa8Copy full SHA for bf61aa8
fs/btrfs/ref-verify.c
@@ -982,7 +982,7 @@ int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info)
982
983
extent_root = btrfs_extent_root(fs_info, 0);
984
/* If the extent tree is damaged we cannot ignore it (IGNOREBADROOTS). */
985
- if (IS_ERR(extent_root)) {
+ if (!extent_root) {
986
btrfs_warn(fs_info, "ref-verify: extent tree not available, disabling");
987
btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
988
return 0;
0 commit comments