mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
bcachefs: Add missing key type checks to check_snapshot_exists()
For now we only have one key type in these btrees, but forward compatibility means we do have to check. Reported-by: syzbot+b4cb4a6988aced0cec4b@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
32a01cd433
commit
b2e2bed119
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue