cmd_list_journal: Apply star_start_of_lines() correctly

In list_journal, we note which journal entries are being ignored - this
was forgetting to mark entries newer than the newest flush.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2023-11-27 13:35:08 -05:00
parent 97c86db4f2
commit 843707ede6

View File

@ -140,11 +140,11 @@ static void journal_entries_print(struct bch_fs *c, unsigned nr_entries,
if (le64_to_cpu(p->j.seq) + nr_entries < atomic64_read(&c->journal.seq))
continue;
bool blacklisted =
bool blacklisted = p->ignore ||
bch2_journal_seq_is_blacklisted(c,
le64_to_cpu(p->j.seq), false);
if (!transaction_filter.nr) {
if (transaction_filter.nr) {
if (blacklisted)
printf("blacklisted ");