]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
cmd_list_journal: fix check to print entry header
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 20 Dec 2023 02:28:43 +0000 (21:28 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 20 Dec 2023 02:28:43 +0000 (21:28 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
cmd_list_journal.c

index 5bae622c84335ccf2f1c656095a5d951c9267de7..5c62690c89592c424b96ebc865e83992d2669c6d 100644 (file)
@@ -141,7 +141,7 @@ static void journal_entries_print(struct bch_fs *c, unsigned nr_entries,
                        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 ");