]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Add missing key type checks to check_snapshot_exists()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 19 Jun 2025 18:32:57 +0000 (14:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 19 Jun 2025 18:37:04 +0000 (14:37 -0400)
commitb2e2bed119809a5ca384241e0631f04c6142ae08
tree0508987a2f391c4c044dd543186b87f12cbbf05b
parent32a01cd4334175a0ae42b3c3d7f37fd26468ecc3
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>
fs/bcachefs/snapshot.c