summaryrefslogtreecommitdiff
path: root/libbcachefs/error.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-20 18:09:44 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-07-20 18:09:44 -0400
commit44fc32e7ef89d794854409d98d3d1c3fe8fb3580 (patch)
tree8dd30cbe9ab6ea2178ed6d847176bef3acdcad1c /libbcachefs/error.c
parenta7b0ba44f04edfddb4db77e962094c061aa4be45 (diff)
Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in startup path
Diffstat (limited to 'libbcachefs/error.c')
-rw-r--r--libbcachefs/error.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libbcachefs/error.c b/libbcachefs/error.c
index 685464b8..39009cf0 100644
--- a/libbcachefs/error.c
+++ b/libbcachefs/error.c
@@ -27,9 +27,6 @@ bool bch2_inconsistent_error(struct bch_fs *c)
void bch2_topology_error(struct bch_fs *c)
{
- if (!test_bit(BCH_FS_TOPOLOGY_REPAIR_DONE, &c->flags))
- return;
-
set_bit(BCH_FS_TOPOLOGY_ERROR, &c->flags);
if (test_bit(BCH_FS_FSCK_DONE, &c->flags))
bch2_inconsistent_error(c);