Skip to content
Commit a6f4794f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: struct bkey_validate_context



Add a new parameter to bkey validate functions, and use it to improve
invalid bkey error messages: we can now print the btree and depth it
came from, or if it came from the journal, or is a btree root.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent c7e78f7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment