Commit d6efd42a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix infinite loop in journal_entry_btree_keys_to_text()



Fix an infinite loop when bkey_i->k.u64s is 0.

This only happens in userspace, where 'bcachefs list_journal' can print
the entire contents of the journal, and non-dirty entries aren't
validated.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent cd04497b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment