summaryrefslogtreecommitdiff
path: root/libbcachefs/recovery.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-04-10 14:39:18 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-04-15 14:41:11 -0400
commit807b250927d9c6e829ddd1ff7eac57bf9b056dab (patch)
treec8c30549383c3b1950ac22fb927729bdd65234cf /libbcachefs/recovery.c
parent7f102ee83d83fd918783ca542fac1574f9b2c623 (diff)
Update bcachefs sources to 504729f99c bcachefs: Allow answering y or n to all fsck errors of given type
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/recovery.c')
-rw-r--r--libbcachefs/recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/recovery.c b/libbcachefs/recovery.c
index 8cc8af6d..91a66b59 100644
--- a/libbcachefs/recovery.c
+++ b/libbcachefs/recovery.c
@@ -543,6 +543,8 @@ static int journal_keys_sort(struct bch_fs *c)
if (!i || i->ignore)
continue;
+ cond_resched();
+
for_each_jset_key(k, entry, &i->j) {
if (keys->nr == keys->size) {
__journal_keys_sort(keys);