diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-11 21:15:26 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-12 02:19:54 -0400 |
commit | 243c934566b7b0f9103201e259f5373ba38126c6 (patch) | |
tree | 238d56a1c406788149086210bdf5a6fc62982286 /fs/bcachefs/lru.c | |
parent | e53a3cdaafc03154d9bbaa104856234a540846b9 (diff) |
bcachefs: reconstruct_alloc cleanupbcachefs-20240312
Now that we've got the errors_silent mechanism, we don't have to check
if the reconstruct_alloc option is set all over the place.
Also - users no longer have to explicitly select fsck and fix_errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.c')
-rw-r--r-- | fs/bcachefs/lru.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/lru.c b/fs/bcachefs/lru.c index ed7577cdb212..26569043e368 100644 --- a/fs/bcachefs/lru.c +++ b/fs/bcachefs/lru.c @@ -125,8 +125,7 @@ static int bch2_check_lru_key(struct btree_trans *trans, goto out; } - if (c->opts.reconstruct_alloc || - fsck_err(c, lru_entry_bad, + if (fsck_err(c, lru_entry_bad, "incorrect lru entry: lru %s time %llu\n" " %s\n" " for %s", |