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

bcachefs: Fix compat issue with old alloc_v4 keys



we allow new fields to be added to existing key types, and new versions
should treat them as being zeroed; this was not handled in
alloc_v4_validate.

Reported-by: default avatar <syzbot+3b2968fa4953885dd66a@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 7f2de694
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