Skip to content
Commit 9e7cfb35 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e3fd3faa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment