|
@@ -312,8 +312,9 @@ xfs_check_block(
|
|
xfs_warn(mp, "%s: thispa(%d) == pp(%d) %Ld",
|
|
xfs_warn(mp, "%s: thispa(%d) == pp(%d) %Ld",
|
|
__func__, j, i,
|
|
__func__, j, i,
|
|
(unsigned long long)be64_to_cpu(*thispa));
|
|
(unsigned long long)be64_to_cpu(*thispa));
|
|
- panic("%s: ptrs are equal in node\n",
|
|
|
|
|
|
+ xfs_err(mp, "%s: ptrs are equal in node\n",
|
|
__func__);
|
|
__func__);
|
|
|
|
+ xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -483,7 +484,8 @@ error0:
|
|
error_norelse:
|
|
error_norelse:
|
|
xfs_warn(mp, "%s: BAD after btree leaves for %d extents",
|
|
xfs_warn(mp, "%s: BAD after btree leaves for %d extents",
|
|
__func__, i);
|
|
__func__, i);
|
|
- panic("%s: CORRUPTED BTREE OR SOMETHING", __func__);
|
|
|
|
|
|
+ xfs_err(mp, "%s: CORRUPTED BTREE OR SOMETHING", __func__);
|
|
|
|
+ xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|