commit | 2bb9600d5d4735953c47dd1ee99382c68dd04caa | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Sun May 05 22:33:05 2024 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Mon May 06 10:58:17 2024 -0400 |
tree | 185e6bf1d4141830cf0a3f24da40f027af617c3e | |
parent | f39055220f6f98a180e3503fe05bbf9921c425c8 [diff] |
bcachefs: Guard against unknown k.k->type in __bkey_invalid() For forwards compatibility we have to allow unknown key types, and only run the checks that make sense against them. Fix a missing guard on k.k->type being known. Reported-by: syzbot+ae4dc916da3ce51f284f@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>