mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
bcachefs: Check for invalid btree IDs
We can only handle btree IDs up to 62, since the btree id (plus the type for interior btree nodes) has to fit ito a 64 bit bitmask - check for invalid ones to avoid invalid shifts later. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
e3fd3faa45
commit
9e7cfb35e2
2 changed files with 12 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue