diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-25 18:48:21 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:25 -0400 |
commit | 2cce3752cec5a895030c8aa534cef3f493145a8e (patch) | |
tree | a6daad7e4c84a8d8de39206377f8f1b0a6fc6f8a /fs/bcachefs/btree_journal_iter.c | |
parent | 69426613cdf0784e29e1a429c1a2f372a6267c43 (diff) | |
download | linux-2cce3752cec5a895030c8aa534cef3f493145a8e.tar.gz linux-2cce3752cec5a895030c8aa534cef3f493145a8e.tar.bz2 linux-2cce3752cec5a895030c8aa534cef3f493145a8e.zip |
bcachefs: split out ignore_blacklisted, ignore_not_dirty
prep work for replaying the journal backwards
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_journal_iter.c')
-rw-r--r-- | fs/bcachefs/btree_journal_iter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_journal_iter.c b/fs/bcachefs/btree_journal_iter.c index 207dd32e2ecc..50e04356d72c 100644 --- a/fs/bcachefs/btree_journal_iter.c +++ b/fs/bcachefs/btree_journal_iter.c @@ -512,7 +512,7 @@ int bch2_journal_keys_sort(struct bch_fs *c) genradix_for_each(&c->journal_entries, iter, _i) { i = *_i; - if (!i || i->ignore) + if (journal_replay_ignore(i)) continue; cond_resched(); |