diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-25 21:11:52 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-25 21:34:11 -0500 |
commit | 62ab2e5216efdbecdc063f3c51012904940de3f3 (patch) | |
tree | a2a2f419253b9419e01ba0365b3798c834d43b84 /c_src | |
parent | 55a2b65bd0195c934a5d862f96f6d91d96d06f83 (diff) |
Update bcachefs sources to 26494335d114 bcachefs: improve move_gap()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src')
-rw-r--r-- | c_src/cmd_list_journal.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/c_src/cmd_list_journal.c b/c_src/cmd_list_journal.c index 5884842c..d104f50a 100644 --- a/c_src/cmd_list_journal.c +++ b/c_src/cmd_list_journal.c @@ -72,14 +72,10 @@ static bool entry_matches_transaction_filter(struct jset_entry *entry, { if (entry->type == BCH_JSET_ENTRY_btree_root || entry->type == BCH_JSET_ENTRY_btree_keys || - entry->type == BCH_JSET_ENTRY_overwrite) { - struct bkey_i *k; - + entry->type == BCH_JSET_ENTRY_overwrite) jset_entry_for_each_key(entry, k) if (bkey_matches_filter(filter, entry, k)) return true; - } - return false; } @@ -100,8 +96,6 @@ static bool should_print_transaction(struct jset_entry *entry, struct jset_entry static bool should_print_entry(struct jset_entry *entry, d_btree_id filter) { - struct bkey_i *k; - if (!filter.nr) return true; |